Commit Graph

21 Commits

Author SHA1 Message Date
ValKmjolnir ccbe341dc5 add import logic for use statement 2023-11-01 00:37:02 +08:00
ValKmjolnir ef4af8f195 🐛 fix error codegen in foreach/forindex loop
undefined symbol was recognized as defined in symbol_finder, now it is
fixed :)
2023-10-26 22:40:20 +08:00
ValKmjolnir 80f9fc5842 can convert minimum double from string 2023-10-11 00:20:02 +08:00
ValKmjolnir 63b0112b9d 📝 update README 2023-10-04 11:52:09 +08:00
ValKmjolnir 788e0026c2 optimize location info gen in codegen
and refactor lib.nas, add multiple native modules
2023-07-23 23:57:25 +08:00
ValKmjolnir 32e23741eb add concat for vector 2023-07-09 16:45:10 +08:00
ValKmjolnir e11793d340 🚀 add operator `^=` `&=` `|=`
fix bug of parsing expressions beginning with floater
2023-02-28 00:30:27 +08:00
ValKmjolnir c8eb1f1d16 🚀 add bitwise operators or, xor, and 2023-02-16 00:24:32 +08:00
ValKmjolnir 368b057a91 🚀 add binary negation 2023-02-12 15:22:05 +08:00
ValKmjolnir d03273b4e1 add keyword support 'true' and 'false'
true is now number 1.0

false is number 0.0
2023-01-16 17:44:56 +08:00
ValKmjolnir e9fc70bba8 optimize `op_para` and `op_deft`: change `hashmap<string,u64>` to `hashmap<u32,u32>` 2022-07-23 12:02:41 +08:00
ValKmjolnir a2e2d5d8f6 add native function runtime.argv() to get command line arguments 2022-06-04 20:12:00 +08:00
ValKmjolnir 23a5c1b1ad 🐛 bug fix 2022-05-06 20:58:02 +08:00
ValKmjolnir f049e1f9fb add test file diff.nas 2022-04-30 20:00:15 +08:00
ValKmjolnir 785572634b change visual settings in -c/-dbg 2022-04-23 01:51:49 +08:00
ValKmjolnir 651ae4ef77 add native function isa(object,class) 2022-04-05 22:33:55 +08:00
ValKmjolnir e846e51175 add native function: srand, values, find. 2022-04-05 22:15:05 +08:00
ValKmjolnir 399b2f0ce9 bug fixed & add systime, finished vecindex 2022-04-04 19:08:48 +08:00
Valk Richard Li b06e1bb5dd add static symbol check & test file update 2021-03-30 15:55:38 +08:00
Valk Richard Li c21d40c466 change test files 2021-03-03 09:20:42 +08:00
Valk Richard Li 155ce6fc0d update & bug fixed 2020-11-03 19:27:21 +08:00