Commit Graph

17 Commits

Author SHA1 Message Date
ValKmjolnir dc56162c55 optimize location info gen in codegen
and refactor lib.nas, add multiple native modules
2023-07-23 23:57:25 +08:00
ValKmjolnir 6166a8e0a5 add concat for vector 2023-07-09 16:45:10 +08:00
ValKmjolnir 034085e6cb 🚀 add operator ^= &= |=
fix bug of parsing expressions beginning with floater
2023-02-28 00:30:27 +08:00
ValKmjolnir a06b17546e 🚀 add bitwise operators or, xor, and 2023-02-16 00:24:32 +08:00
ValKmjolnir 8c02aa0fff 🚀 add binary negation 2023-02-12 15:22:05 +08:00
ValKmjolnir 21a8579d8f 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 0d750ca685 optimize op_para and op_deft: change hashmap<string,u64> to hashmap<u32,u32> 2022-07-23 12:02:41 +08:00
ValKmjolnir ec2866021f add native function runtime.argv() to get command line arguments 2022-06-04 20:12:00 +08:00
ValKmjolnir 3e418dbcff 🐛 bug fix 2022-05-06 20:58:02 +08:00
ValKmjolnir 3854e582a2 add test file diff.nas 2022-04-30 20:00:15 +08:00
ValKmjolnir ce48ec1b8d change visual settings in -c/-dbg 2022-04-23 01:51:49 +08:00
ValKmjolnir 28ca3baf87 add native function isa(object,class) 2022-04-05 22:33:55 +08:00
ValKmjolnir 8b7e0e5181 add native function: srand, values, find. 2022-04-05 22:15:05 +08:00
ValKmjolnir 60a74a13c8 bug fixed & add systime, finished vecindex 2022-04-04 19:08:48 +08:00
Valk Richard Li 7f191f353e add static symbol check & test file update 2021-03-30 15:55:38 +08:00
Valk Richard Li e8b8e53015 change test files 2021-03-03 09:20:42 +08:00
Valk Richard Li a0728ad193 update & bug fixed 2020-11-03 19:27:21 +08:00