A token parser made with LOVE in mind, loadable via FFI.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines

  1. Compiling LoveToken is trivial since it only needs C99, and optionally iconv.
  2. You can compile with the LT_NO_ICONV definition to disable iconv.
  3. Compile lt.c to an object file and statically or dynamically link it with
  4. your application. That's it. Don't forget to include lt.h.
  5. If you don't want to export it to a DLL/SO/whatever, define LT_NO_EXPORT.
  6. Also, compiling with GDCC ( http://github.com/DavidPH/GDCC ) works.
  7. It will automatically omit iconv and use some specialized functions to work.