single-file public domain libraries
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
code fts_fuzzy_match version 0.2.0 Feb 18, 2017
docs Promoted FTSAsyncMatcher in fts_fuzzy_match_async.js from utils into … Mar 28, 2016
projects Add buttons for toggling behavior Jan 14, 2019
tests
readme.md Updated fts_ballistic_projectile demo url Jul 28, 2017

readme.md

lib_fts

single-file public domain libraries

lib lang doc desc
fts_amalgamate Python blog Code amalgamation tool inspired by SQLite
fts_ballistic_projectile C# (Unity) blog, demo Solve ballistic trajectory firing angles
fts_fuzzy_match C++, JavaScript readme, blog, demo Fuzzy string matching inspired by Sublime Text

Ports

These are externally hosted, user written ports. I can not guarantee they are correct, up to date, or non-hostile. User beware!

lib lang
fts_fuzzy_match C#, F#, Lua, PHP, Python

FAQ

What is lib_fts?

My personal take on STB style file libraries. Small librabries in one or two files that can be trivially drag'n'dropped into an existing project.

No convoluted build systems. No dependency rabbit holes. Easy to read, easy to use.

What license?

All source code is embedded with the following license:

This software is dual-licensed to the public domain and under the following license: you are granted a perpetual, irrevocable license to copy, modify, publish, and distribute this file as you see fit.

What is FTS?

My initials; Forrest Thomas Smith.

What language is used?

Several! Different or multiple languages are used where appropriate.

Why C++ and not C?

Because I'd rather write simple code in a C++ namespace and call it a day. It's the simplest possible implementation that can be modified by users to meet their specific needs. I'd like to avoid macro hell if possible.

Is C++11 used?

Core libs linked on this page are written in C++ but very near to C.

Test code is full of C++11, STL, and all kinds of icky things. Tread with caution!

Files in code/util are fully independent but not significant enough to warrant root status. They may be C++ oriented and may use C++11/14 features.