mingodad
|
2d3885ea64
Add a table to store defined class/struct names to be used as types.
|
9 years ago |
mingodad
|
c6444139df
SquiLu now accepts a subset of C/C++ syntax declaration for variables, functions, classes, structures.
|
9 years ago |
mingodad
|
9096e0e040
Make delayed release hooks optional
|
9 years ago |
mingodad
|
308376386b
Use a wrapper for fopen
|
9 years ago |
mingodad
|
79a009d408
Several fixes from squirrel
|
9 years ago |
mingodad
|
e6e8efcc4f
A new simpler recursive implementation of scripting compiler "#includes"
|
9 years ago |
mingodad
|
483b2feb5b
First implementation of "#include" compiler directive like in C/C++ by default it's limited to max 10 nested includes
|
9 years ago |
mingodad
|
de8643bc87
Now SquiLu parse and store function parameters type and return type following the typescript parameter definition style.
|
10 years ago |
mingodad
|
1b445be88f
Fix improper handling of negative values introduced by transfering code from squirrel
|
10 years ago |
mingodad
|
10d0334739
Fixes for sq_slave_vm been able to report erros, also the lexer now ignore unicode escape "\u" instead of give an error.
|
10 years ago |
mingodad
|
5e38207b7f
Fix typo.
|
10 years ago |
mingodad
|
06f456a0d4
Add "let" and "auto" as alias to "local", now squilu accepts "local", "var", "let", "auto", "int_t", "uint_t", "int8_t", "uint8_t", ...
|
10 years ago |
mingodad
|
689e8b30c1
Bug fix reported on squirrel forum
|
10 years ago |
mingodad
|
da2d3189d1
Fix bug reported on squirrel forum related to pre increment/decrement on corner cases.
|
10 years ago |
mingodad
|
ae743d1eaa
Fixes from squirrel 3.0.6 and an attempt to use computed gotos on the vm, right now it does not add any performance enhancements.
|
11 years ago |
mingodad
|
250d12392b
Remove static buffer for compiler error message by a compiler instance variable.
|
11 years ago |
mingodad
|
4eb5a431d8
Added two new operators for identity equality and unequality like the ones in javascript and php
|
12 years ago |
mingodad
|
d265d7a655
Fix to latest bugs from squirrel forum.
|
12 years ago |
mingodad
|
35075d670a
Added a simple signal handler and somehow fixed the switch bug when having variables for case statements, now only constants or scalars are accepted.
|
12 years ago |
mingodad
|
c53a7a44c7
Discovered a side effect bug introduced by the modification to allow functions declared local to be called recursivelly.
|
12 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
|
49b7966419
Add the proposed patch to prevent make assignment to the reserved word base.
|
12 years ago |
mingodad
|
979446a79e
Add comments to explain code to compensate default parameters for local functions.
|
12 years ago |
mingodad
|
f8926bfb8a
Fix a bug introduced by code to allow local declared functions been called recursivelly, this bug only manifest when the function has default parameters.
|
12 years ago |
mingodad
|
2b1ebc1b93
Add the start point on implementing class.destructor, it parses the destructor declaration as a method but it's not calling it yet.
|
13 years ago |
mingodad
|
50198dc2fd
Fix a bug introduced by checking function name already defined, the code was checking the first identifier but when declaring class methods outside class definition the first identifier is allways already defined (the class name).
|
13 years ago |
mingodad
|
987a4c2212
Refactoring and cleaning a bit the code that parse class/table members.
|
13 years ago |
mingodad
|
406210b6bf
Modify lexeer and parser to accept class declaration like in typescript.
|
13 years ago |
mingodad
|
29c691348a
Added type annotations for function parameters and function return type, it's not checking yet but the compiler will accept then and discard for now.
|
13 years ago |
mingodad
|
0bca304824
Add new parameter for SQCompiler "bool show_warnings" to allow suppress issuing warnings.
|
13 years ago |