//svarlang.lib/trunk/history.txt |
---|
3,8 → 3,8 |
- added svarlang_autoload_exepath() and svarlang_autoload_nlspath() |
- svarlang_load() simplified so it takes the target filename as an argument |
- file access relies on fopen() when svarlang is compiled with -DWITHSTDIO |
- file format refinement: use sorted dictionary to speed up lookup |
breaking change! See svarlang.txt for file format specification. |
- new file format: sorted dictionary for faster lookup (by Bernd Boeckmann) |
breaking change! See svarlang.txt for file format specification |
20230630 |
- tlumacz.exe warns about empty strings (patch by Bernd Boeckmann) |
//svarlang.lib/trunk/svarlang.txt |
---|
83,15 → 83,14 |
There is also a licensing issue: CATS/Kitten libraries are published under the |
terms of a viral, corrosive license. SvarLANG, on the other hand, is published |
under a truly free, liberal license (MIT). |
under a truly free, liberal MIT license. |
### FILE FORMAT ### |
File = |
magic : Char[4] := "SvL1" |
guard : Char := "\0x1a" |
; end-of-file char to prevent TYPE garbage |
magic : Char[4] := "SvL\x1a" (ie. "SvL" followed with a 0x1a char) |
; 0x1a is an end-of-file marker that prevents TYPE garbage |
num_strings : U16 |
languages : array[num_languages] of Language |