ValKmjolnir
|
666fb8b25f
|
🐛 fix codegen skip or/and expr bug
|
2023-05-08 19:23:50 +08:00 |
|
ValKmjolnir
|
92abad3384
|
✨ add cmakelists.txt
|
2023-05-06 21:12:40 +08:00 |
|
ValKmjolnir
|
cd21540710
|
🎨 improve code style
|
2023-04-12 01:11:31 +08:00 |
|
ValKmjolnir
|
3852ce23a3
|
✨ split opcode to nasal_opcode.h
|
2023-04-04 00:29:17 +08:00 |
|
ValKmjolnir
|
7cdc5e40af
|
⚡ visual update
|
2023-03-11 18:15:27 +08:00 |
|
ValKmjolnir
|
bd12fe917a
|
⚡ add new operand calculate const and pop
|
2023-03-10 22:27:06 +08:00 |
|
ValKmjolnir
|
8161f3c514
|
⚡ optimize codegen
|
2023-03-09 23:00:25 +08:00 |
|
ValKmjolnir
|
dbc2c365b4
|
✨ update error report for parser&codegen
|
2023-03-08 23:53:02 +08:00 |
|
ValKmjolnir
|
1678567c5d
|
✨ add multi-line error report and span
|
2023-03-08 01:12:01 +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
|
068184f451
|
🐛 fix codegen for binary not on some ast nodes
|
2023-02-12 15:33:38 +08:00 |
|
ValKmjolnir
|
368b057a91
|
🚀 add binary negation
|
2023-02-12 15:22:05 +08:00 |
|
ValKmjolnir
|
79c1e27027
|
🐛 fix bug in test/calc.nas
|
2023-02-03 19:01:00 +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
|
eca978e2b3
|
⚡ little optimization
|
2022-11-30 01:11:26 +08:00 |
|
ValKmjolnir
|
4c5ffb0240
|
🎨 change code format
|
2022-11-26 22:49:22 +08:00 |
|
ValKmjolnir
|
54969681fc
|
⚡ move lvalue check from parse to codegen
|
2022-11-20 17:06:13 +08:00 |
|
ValKmjolnir
|
9196d7815f
|
🎨 improve error report
|
2022-11-19 22:47:19 +08:00 |
|
ValKmjolnir
|
aaccfbda11
|
🐛 fix ast print bug & delete some macros
|
2022-10-30 18:40:03 +08:00 |
|
ValKmjolnir
|
feea901e4d
|
🎨 improve code format
delete option -v, --version, -l, --lex
|
2022-10-30 01:26:26 +08:00 |
|
ValKmjolnir
|
d121dcd630
|
🎨 improve format of code
|
2022-10-28 23:28:15 +08:00 |
|
ValKmjolnir
|
3fd1b25f79
|
🔥 change class name.
nasal_lexer -> lexer
nasal_parse -> parse
nasal_codegen -> codegen
nasal_vm -> vm
nasal_gc -> gc
nasal_dbg -> debugger
nasal_import -> linker
nas_ref -> var
|
2022-10-21 01:29:29 +08:00 |
|
ValKmjolnir
|
025ff49ffc
|
🚀 add stl/csv.nas & ast name change
|
2022-10-19 00:54:21 +08:00 |
|
ValKmjolnir
|
e25eb76e94
|
🚀 delete unnecessary codes & add stl/string.nas
|
2022-10-05 16:03:47 +08:00 |
|
ValKmjolnir
|
cff9f91bee
|
🚀 move pic directory into doc
|
2022-09-19 00:10:08 +08:00 |
|
ValKmjolnir
|
aa5b1d3d66
|
🚀 import information output of dbg, vm and codegen
|
2022-09-11 17:22:00 +08:00 |
|
ValKmjolnir
|
972ad49a4f
|
⚡ improve error output info generated by codegen.
|
2022-09-05 00:41:36 +08:00 |
|
ValKmjolnir
|
a13e419518
|
📝 fix MSVC warning in nasal_builtin.h & improve error output.
|
2022-09-04 23:08:06 +08:00 |
|
ValKmjolnir
|
5715c1df5f
|
🎨 improve error log output format.
|
2022-09-02 02:04:03 +08:00 |
|
ValKmjolnir
|
a91826607c
|
⚡ optimize header file, now modules could generate smaller dynamic libs.
|
2022-08-24 22:08:47 +08:00 |
|
ValKmjolnir
|
44bfd74ca9
|
📝 optimize codes
|
2022-08-01 22:51:19 +08:00 |
|
ValKmjolnir
|
04a45064c8
|
📝 delete unnecessary code & change test file.
|
2022-07-31 19:26:13 +08:00 |
|
ValKmjolnir
|
068743aa4c
|
📝 change int in code to i32, optimize code.
|
2022-07-31 02:19:29 +08:00 |
|
ValKmjolnir
|
006ed644e6
|
🚀 move fg constants to stl/fg_env.nas, add io.exists. now dlopen and import can search file in PATH.
|
2022-07-28 21:44:55 +08:00 |
|
ValKmjolnir
|
db896e932f
|
⚡ correct types in nasal_codegen.h
|
2022-07-27 00:59:35 +08:00 |
|
ValKmjolnir
|
99a131c552
|
🚀 change std::string to string, change identifiers' name, -o is now a function available in debug mode.
|
2022-07-23 17:00:25 +08:00 |
|
ValKmjolnir
|
46516485b5
|
📝 change name of used types
|
2022-07-23 12:35:21 +08:00 |
|
ValKmjolnir
|
cfbec9a3f1
|
📝 change identifiers' name
|
2022-07-18 23:54:44 +08:00 |
|
ValKmjolnir
|
bcdc55a652
|
⚡ optimize code & replace all printf with std::cout.
|
2022-07-09 23:36:14 +08:00 |
|
ValKmjolnir
|
9890b46f02
|
⚡ optimize code.
|
2022-07-08 23:00:36 +08:00 |
|
ValKmjolnir
|
11e9567b55
|
📝 change some identifiers' name.
|
2022-07-08 18:16:00 +08:00 |
|
ValKmjolnir
|
5d4cff0aa8
|
🚀 shrink code size & now import module can search lib file from local dir and dirs in PATH
|
2022-07-08 00:42:56 +08:00 |
|
ValKmjolnir
|
ebfacd9197
|
⚡ optimize codes
|
2022-05-22 18:19:13 +08:00 |
|
ValKmjolnir
|
99dca532f6
|
📝 add notes in nasal_codegen.h and nasal_vm.h. add register_info() in debugger.
|
2022-05-21 14:22:54 +08:00 |
|
ValKmjolnir
|
c5171c735a
|
💬 change code related to macros 'PRTHEX'
|
2022-05-08 19:43:27 +08:00 |
|
ValKmjolnir
|
51a1279110
|
✨ add utf-8 identifier check in nasal_lexer & fix printf format at windows platform & add test file utf8chk.nas
|
2022-05-07 16:50:13 +08:00 |
|
ValKmjolnir
|
fd8a148d0c
|
bytecode info print and debugger will show the front 16 characters of strings whose length is greater than 16
|
2022-05-02 16:56:03 +08:00 |
|
ValKmjolnir
|
7417d5e635
|
change makefile
|
2022-04-26 22:53:35 +08:00 |
|
ValKmjolnir
|
785572634b
|
change visual settings in -c/-dbg
|
2022-04-23 01:51:49 +08:00 |
|