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
|
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
|
5715c1df5f
|
🎨 improve error log output format.
|
2022-09-02 02:04:03 +08:00 |
ValKmjolnir
|
aa0023a23b
|
📝 use bold font in test/watchdog.nas
|
2022-09-01 00:04:14 +08:00 |
ValKmjolnir
|
f86ea2445f
|
🚀 change cpp standard to c++14 & add command line colorful info output.
and fix a bug that program may crash if there's an error when coroutine is running
|
2022-08-31 23:24:41 +08:00 |
ValKmjolnir
|
b022b25cea
|
🚀 add colorful error info print.
|
2022-08-31 00:56:19 +08:00 |
ValKmjolnir
|
a91826607c
|
⚡ optimize header file, now modules could generate smaller dynamic libs.
|
2022-08-24 22:08:47 +08:00 |
ValKmjolnir
|
068743aa4c
|
📝 change `int` in code to `i32`, optimize code.
|
2022-07-31 02:19:29 +08:00 |
ValKmjolnir
|
7ad1d69c64
|
⚡ optimize code & chdir will not trigger crash if failed to call
|
2022-07-30 19:17:33 +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
|
a04ed2a4aa
|
📝 change makefile and update output format of --opcnt and --detail
|
2022-07-06 11:57:40 +08:00 |
ValKmjolnir
|
c993c77b78
|
✨ change format of error info
parser now can report exact place where is lacking ';' or ','
|
2022-06-30 23:15:10 +08:00 |
ValKmjolnir
|
2dc8459cbf
|
use effective way to check if file exists
|
2022-04-21 20:51:47 +08:00 |
ValKmjolnir
|
51afe3dacd
|
fixed bug when -O0 the program crashes with code 01.
add `nasal_err():error(0){}` in `nasal_err.h:47` as the constructor.
|
2022-02-14 17:40:19 +08:00 |
ValKmjolnir
|
eaa54035ff
|
change name of enum:ast_hashmember->ast_pair, ast_new_iter->ast_iter
change ast_hashmember to ast_pair is because this type in fact is the same as std::pair<std::string,nasal_ref> in C++
|
2022-01-31 17:22:44 +08:00 |
ValKmjolnir
|
4def93b4ad
|
bug fixed in nasal_vec::print and nasal_hash::print
if vec's or hash's size is 0, a bug will occur because ++depth. now the ++depth has been put behind the size()
|
2022-01-29 19:51:43 +08:00 |
ValKmjolnir
|
630c99c39a
|
optimize codes
|
2022-01-16 22:48:00 +08:00 |
ValKmjolnir
|
46716620e3
|
add test file 'turingmachine.nas' & change output format of ast & bug fixed
|
2021-12-28 20:23:47 +08:00 |
ValKmjolnir
|
70a43c2f03
|
bug fixed
|
2021-12-25 15:56:08 +08:00 |
ValKmjolnir
|
f0ae63bce5
|
lexer,parser,import,codegen use the same error module.
|
2021-12-23 21:15:50 +08:00 |