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
|
8df02d25ad
|
✨ add detail location info in tokens
prepare for multi-line error reporter module
|
2023-01-10 22:22:27 +08:00 |
|
ValKmjolnir
|
268a03864e
|
✨ use new way of constructing var objects
|
2023-01-05 22:42:17 +08:00 |
|
ValKmjolnir
|
48611c50f7
|
🚀 coroutine.resume can pass arguments
|
2023-01-02 18:53:58 +08:00 |
|
ValKmjolnir
|
e6e89039b8
|
⚡ optimize code & add comments
|
2023-01-02 01:00:16 +08:00 |
|
ValKmjolnir
|
9d7f799ad3
|
✨ update test file 'life.nas'
|
2022-12-27 18:25:58 +08:00 |
|
ValKmjolnir
|
de524938cf
|
⚡ add runtime.gc.extend
|
2022-12-04 20:28:51 +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
|
309a57070c
|
🚀 change module loading
|
2022-11-15 21:23:34 +08:00 |
|
ValKmjolnir
|
7e4faed4a6
|
🚀 add new native function char
|
2022-11-12 17:03:56 +08:00 |
|
ValKmjolnir
|
97b3cefe75
|
⚡ add new ways of calling dylib function
|
2022-11-11 00:11:01 +08:00 |
|
ValKmjolnir
|
4fd69c6ce4
|
🚀 optimize code
|
2022-11-06 18:20:10 +08:00 |
|
ValKmjolnir
|
aaccfbda11
|
🐛 fix ast print bug & delete some macros
|
2022-10-30 18:40:03 +08:00 |
|
ValKmjolnir
|
0c216e5f16
|
🐛 safer builtin_logtime
|
2022-10-30 01:30:05 +08:00 |
|
ValKmjolnir
|
d121dcd630
|
🎨 improve format of code
|
2022-10-28 23:28:15 +08:00 |
|
ValKmjolnir
|
c705b75513
|
🚀 change module function parameter format to avoid warnings
|
2022-10-24 01:12:25 +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
|
405175061a
|
🚀 crashed coroutine will not make main thread crash.
|
2022-10-06 23:11:27 +08:00 |
|
ValKmjolnir
|
6ef22d3228
|
🚀 use std::ostream to unify nas_ref output
|
2022-09-23 21:45:08 +08:00 |
|
ValKmjolnir
|
c4cac512a6
|
🐛 fix compilation error of FindNextFile in other VS version.
|
2022-09-23 20:39:34 +08:00 |
|
ValKmjolnir
|
26f4e1359f
|
🐛 fix bug that int() cannot convert numeric string
|
2022-09-12 22:45:35 +08:00 |
|
ValKmjolnir
|
aa5b1d3d66
|
🚀 import information output of dbg, vm and codegen
|
2022-09-11 17:22:00 +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
|
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
|
52a38709bb
|
📝 diable warning C4566 in MSVC
|
2022-08-31 01:06:57 +08:00 |
|
ValKmjolnir
|
8293f85c5b
|
🚀 add lib function exit() and add test file watchdog.nas to run the nasal file when it is changed.
|
2022-08-27 18:12:32 +08:00 |
|
ValKmjolnir
|
a91826607c
|
⚡ optimize header file, now modules could generate smaller dynamic libs.
|
2022-08-24 22:08:47 +08:00 |
|
ValKmjolnir
|
bb0a2e3669
|
⚡ reduce unnecessary errors & make io.read safer
|
2022-08-11 01:48:02 +08:00 |
|
ValKmjolnir
|
d65868f1e9
|
⚡ reduce unnecessary code & optimize code
|
2022-08-10 01:44:47 +08:00 |
|
ValKmjolnir
|
170f34a5e2
|
⚡ reduce unnecessary native-function errors.
|
2022-08-09 01:34:47 +08:00 |
|
ValKmjolnir
|
0493e18d0e
|
🚀 optimize code
|
2022-08-08 22:10:51 +08:00 |
|
ValKmjolnir
|
7ddb8593ad
|
🚀 optimize stl/stack.nas, test/calc.nas & io.fin now returns empty string when cannot open file
|
2022-08-07 00:35:55 +08:00 |
|
ValKmjolnir
|
2937c10c77
|
📝 little change
|
2022-08-05 23:22:32 +08:00 |
|
ValKmjolnir
|
e51878266a
|
⚡ reduce code size
|
2022-08-03 23:03:49 +08:00 |
|
ValKmjolnir
|
37841fc91e
|
⚡ optimize code & shrink code size
|
2022-08-02 22:03:28 +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
|
7ad1d69c64
|
⚡ optimize code & chdir will not trigger crash if failed to call
|
2022-07-30 19:17:33 +08:00 |
|
ValKmjolnir
|
52fcc9118c
|
🚀 input now can choose std::getline to read one line.
|
2022-07-30 01:31:56 +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
|
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
|
f68a512845
|
📝 shrink size of README.md
|
2022-07-20 22:22:50 +08:00 |
|
ValKmjolnir
|
cc4ff38f28
|
⚡ optimize codes
|
2022-07-19 23:55:12 +08:00 |
|
ValKmjolnir
|
d8d457ce74
|
🐛 fix information print format on MSVC.
|
2022-07-16 18:47:27 +08:00 |
|
ValKmjolnir
|
51f780e637
|
🐛 fix error use of FindFirstFile.
|
2022-07-16 17:47:43 +08:00 |
|
ValKmjolnir
|
577ecd14df
|
🚀 update makefile to choose different compilers by users & fix some codes for MSVC to compile.
|
2022-07-16 16:53:11 +08:00 |
|