mingodad
|
a2333d71ef
Added type info to the comments in the squilu bytecode generation option
|
8 years ago |
mingodad
|
55e5b72f75
Reformated it using codeblocks astyle plugin.
|
8 years ago |
mingodad
|
1cfc0f80f5
Fix for a bug reported and solved by https://github.com/virt00l on squirrel
|
8 years ago |
mingodad
|
ea079daa15
Several fixes from squirrel.
|
8 years ago |
mingodad
|
c74277f2c2
Several fixes found when translating lua 5.1 tests (http://www.inf.puc-rio.br/%7Eroberto/lua/lua5.1-tests.tar.gz)
|
8 years ago |
mingodad
|
fbfa0c2cfd
A better error message for case where we have a variable declaration inside a for loop.
|
8 years ago |
mingodad
|
e4650598a8
Accept two or more consecutive strings as one like in C/C++
|
8 years ago |
mingodad
|
280aeba8c9
The compiler now accept integer literal suffixes "uUsSlL" but still all of then are stored as SQInteger.
|
8 years ago |
mingodad
|
60322d444e
Make the compiler accept typedef of fixed size array "typedef int_t int_a8[8];"
|
8 years ago |
mingodad
|
7a4868caa2
Use sq_type instead of the duplicated sqtype as it's done in squirrel
|
8 years ago |
mingodad
|
2e71442f5e
Add an initial implementation of using environment var SQUILU_PATH to search for include files, inspired and based on LUA_PATH
|
8 years ago |
mingodad
|
b5e8601a95
Fix for a bad declaration of a table been interpreted as a class
|
8 years ago |
mingodad
|
6ee9f39571
Change macro type() to sqtype() as done in squirrel, also updating sqlite3
|
8 years ago |
mingodad
|
f938a4075f
Apply fixes from squirrel
|
8 years ago |
mingodad
|
012e6a4110
Now SquiLu can accept C++/Java template instantiation declaration, although it discards it, again the idea is to accept a subset of C/C++/Java syntax.
|
8 years ago |
mingodad
|
79f10cd2e1
Add a comment to the last fix on sq_compiler.
|
8 years ago |
mingodad
|
faf042b87f
Fix a segfault when compiling with gcc -O3
|
9 years ago |
mingodad
|
b61525390d
Fix a bug in the compiler "include" code where doing a Lex() before the include file could trigger a search for a symbol defined on the include file and because of that be attached to a global search at runtime.
|
9 years ago |
mingodad
|
eb1c8e4414
Added the global rawcall that was implemented on squirrel
|
9 years ago |
mingodad
|
f7753fc37d
Fix typescript style class member declarations
|
9 years ago |
mingodad
|
64e8a503b7
Accept and discard C/C++ style cast, right now only the type (int) no other qualifiers "const/*/..."
|
9 years ago |
mingodad
|
025c89a0a9
Fix parsing template declaration inside class/struct.
|
9 years ago |
mingodad
|
45512ad52d
Simplification of the "goto" implementation, it's usable with care, goto/jump crossing declaration/initialization need to show an error message, still need work.
|
9 years ago |
mingodad
|
035fb55be6
The "goto" implementation is in a working state but still need more work.
|
9 years ago |
mingodad
|
5d6b79f3bf
More work on the implementation of goto statement, still need more work
|
9 years ago |
mingodad
|
7fa8db67b8
Add _OP_NOP to try solve the goto _POP_TRAP and RESOLVE_OUTERS, still need work on it
|
9 years ago |
mingodad
|
efbf11ea1e
Simplification of ResolvGotos method, still need more work
|
9 years ago |
mingodad
|
ba83378ac1
Add an initial implementation of goto, still need more work.
|
9 years ago |
mingodad
|
dc94a15a4e
Changed the lexer/parser to accept and discard C/C++ template/goto/label
|
9 years ago |
mingodad
|
9bc71a8ccb
Add "goto" keyword and made the lexer/parser recognize (including labels) and ignore then for now.
|
9 years ago |