mingodad
|
d1c3869e7c
When exposing the CustomSQLexer to scripts we've been segfaulting when closing the vm due to the order of creation, the _keywords table was created before (inside the script SQLexer constructor) the lexer was inserted in the vm, this seems to fix it for now, probably a more general fix need to be done.
|
6 years ago |
mingodad
|
e40dc0fa7e
Add an option to the lexer to parse strings with single and or double quotes
|
6 years ago |
mingodad
|
997678e94b
Fix to lexing integer overflow inside excluded ifdef
|
6 years ago |
mingodad
|
e4b7c99f49
Add a flag to differentiate single character from integer numbers
|
6 years ago |
mingodad
|
ca903a3695
Fix to allow float numbers like '.2'
|
6 years ago |
mingodad
|
82d0b3cce3
When trying to compile on 32bits with SQInteger as int64_t several problems arised and on the way to fix it several compiler warnings was eliminated.
|
7 years ago |
mingodad
|
aeaf302490
Fix several compiler warnings
|
7 years ago |
mingodad
|
9daea8a4ec
Add a field to Lex to store the readcount
|
8 years ago |
mingodad
|
715e694405
Now on the exposed SQLexer accept a an optional table with the keywords to be used by the lex.
|
8 years ago |
mingodad
|
4901b63c83
Add a SQLexer::LookaheadLex method to facilitate compile/run more C/C++ code
|
9 years ago |
mingodad
|
728ad788a8
Update with squirrel, spaces/tabs changed
|
10 years ago |
mingodad
|
22d30be09f
Record the last token column, to be able to restore comments
|
10 years ago |
mingodad
|
ae88573bfc
Add an option to the lexer to return comments and use it by scripts
|
10 years ago |
mingodad
|
b81bacce84
Code refactoring and expose the SquiLu lexer to scripts see samples/test-sqlexer.nut
|
10 years ago |
mingodad
|
79a009d408
Several fixes from squirrel
|
10 years ago |
mingodad
|
e6e8efcc4f
A new simpler recursive implementation of scripting compiler "#includes"
|
10 years ago |
mingodad
|
0a4e4f1df2
Added some improvements from Squirrel 3.1 beta, small fix on gumbo and updated to latest sqlite3.
|
12 years ago |
mingodad
|
43f270e86e
Added multiple choices for multiline string delimiter, multiline strings can use [=*[ content ]=*] or {=*{ content }=*} or (=*( content )=*)
|
13 years ago |
mingodad
|
1e011789d3
Reorganize repository tree.
|
13 years ago |