Home

Awesome

lib_fts

single-file public domain libraries

liblangdocdesc
fts_amalgamatePythonblogCode amalgamation tool inspired by SQLite
fts_ballistic_projectileC# (Unity)blog, demoSolve ballistic trajectory firing angles
fts_fuzzy_matchC++, JavaScriptreadme, blog, demoFuzzy 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!

liblang
fts_fuzzy_matchC#, Delphi, 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.