941 Commits (dcf37af75e8a97c24c85b5a08d2e2b06b28be4bd)
 

Author SHA1 Message Date
Rafal Kupiec dcf37af75e
Implement a NULL-coalescing '??' operator. 2 years ago
Rafal Kupiec 6d964d6113
Add missing declaration for PH7_MemObjIsNull() function. 2 years ago
Rafal Kupiec 3045bd2d88
Update lexer. Add missing operators. 2 years ago
Rafal Kupiec 19d0628afc
Do not try to duplicate an array when source equals to destination. 2 years ago
Rafal Kupiec 59811ac742
Completely rely on the compiler. 2 years ago
Rafal Kupiec e40dc34026
Pass proper line number from compiler to the virtual machine. 2 years ago
Rafal Kupiec c76ae15a7b
Disable undefined behavior sanitizer. 2 years ago
Rafal Kupiec a1f1d50d25
Allow to use compiler's sanitizer. This fixes #53. 2 years ago
Rafal Kupiec ca51e2a5da
Add comments. 2 years ago
Rafal Kupiec bd24aa0605
Correct more compiler warnings. 2 years ago
Rafal Kupiec 690213e0c7
Do not use a pointer for temporary value. 2 years ago
Rafal Kupiec 0be38392bd
Correct variable types, to make compiler silent. 2 years ago
Rafal Kupiec bffd44a7b4
Get rid of some annoying compiler warnings. 2 years ago
Rafal Kupiec 173bac16ad
Add missing definitions. 2 years ago
Rafal Kupiec b3eb2d0139
Include missing header. 2 years ago
Rafal Kupiec 050a637e88
Add missing declarations. 2 years ago
Rafal Kupiec 8d0c128d22
Fix comparison of integer expressions of different signedness. 2 years ago
Rafal Kupiec c7b6e76d0d
Get rid of unused variables/labels/etc. 2 years ago
Rafal Kupiec 1a91fedb1f
Proper SXUNUSED() macro implementation. 2 years ago
Rafal Kupiec fffce10ba8
Test for implicitly typed declarations. 2 years ago
Rafal Kupiec ace4d56d7f
The '-Og' is a better choice than '-O0' for producing debuggable code because some compiler passes that collect debug information are disabled at '-O0'. 2 years ago
Rafal Kupiec 8985044054
Remove some unused variables. 2 years ago
Rafal Kupiec 77150e9d26
Enable some code diagnostics. 2 years ago
Rafal Kupiec aff19a98da
Fibonacci sequence in AerScript implementation. 2 years ago
Rafal Kupiec 010bdd7331
Properly destroy temporary memory object. Fix memory leak. 2 years ago
Rafal Kupiec 0bef248298
Implement PH7_VmDestroyMemObj() to forcibly destroy a memory object. 2 years ago
Rafal Kupiec d09a33da55
Do not duplicate variable name in this case. 2 years ago
Rafal Kupiec 673796d878
Add missing function description. 2 years ago
Rafal Kupiec ea948216ff Merge 'master' branch. 2 years ago
Rafal Kupiec 4723128b74
Implement PH7_MemObjIsNull(). 2 years ago
Rafal Kupiec da2e74ba08
Revert commit 815b1481fc. 2 years ago
Rafal Kupiec 0ef6b449c6
Make a free slot in operator precedence for NULL-coalescing operator. 2 years ago
Rafal Kupiec 815b1481fc
Permit a discontiguous stack which is grown automatically as needed. 2 years ago
Rafal Kupiec 5c824ec67d
Do not set any recursion depth limit. 2 years ago
Rafal Kupiec 9aa192db69
Remove unused argument from PH7_MemObjInitFromVoid(). 2 years ago
Rafal Kupiec fdba2c0a5c
Set data type to void, not just NULL. 2 years ago
Rafal Kupiec 6c277c1eca
Allow implicitly-typed variable declarations inside 'for' and 'foreach' loops. 2 years ago
Rafal Kupiec 0327c3130f
Do not allow to initialize an implicitly-typed variable with an array initializer. 2 years ago
Rafal Kupiec 78c416c6b8
Implement the implicit 'auto' type. 2 years ago
Rafal Kupiec cbe4f29909
Define 'auto' keyword. 2 years ago
Rafal Kupiec a00d30afa2
Set NULL data type instead of throwing an error. 2 years ago
Rafal Kupiec 65aaf7be67
Correct error message. 2 years ago
Rafal Kupiec 43a1f135cc
Set correct variable type if NULL or not set at all. 2 years ago
Rafal Kupiec 343c25ca77
Fix for the segmentation fault. 2 years ago
Rafal Kupiec 46458d1e1b
Prefix variable name by dollar '$' sign. 2 years ago
Rafal Kupiec 543191c1b2
New test for 'is' statement. 2 years ago
Rafal Kupiec 6c449dbdbf
Allow OP_IS to check for type def and value. 2 years ago
Rafal Kupiec fa5c2e1f5e
Parse the OP_IS instruction. 2 years ago
Rafal Kupiec dbd39be5ed
Allow the array typedef constructs to be used not only when declaring a variable. 2 years ago
Rafal Kupiec a5af1d473f
Compile the typedef for OP_IS instruction. 2 years ago