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
7a93527948
⚡ add stl/json.nas & fix bug
...
bug: may cause program crash if stack overflow occurs on main stack
2022-10-08 21:34:47 +08:00
ValKmjolnir
405175061a
🚀 crashed coroutine will not make main thread crash.
2022-10-06 23:11:27 +08:00
Li Haokun
ae85791f01
Merge pull request #16 from sidi762/master
...
Build modules for macOS nightly builds and deliver everything (instead of just the binary) in the release
2022-10-06 17:23:14 +08:00
Sidi Liang
3cb5d0f2d9
Merge pull request #1 from sidi762/patch-1
...
Build modules for Mac nightly
2022-10-06 17:19:02 +08:00
Sidi Liang
a3f5dc01d3
Build modules for Mac nightly
2022-10-06 17:15:47 +08:00
ValKmjolnir
35d7772dd3
📝 update doc
2022-10-06 00:23:32 +08:00
ValKmjolnir
e25eb76e94
🚀 delete unnecessary codes & add `stl/string.nas`
2022-10-05 16:03:47 +08:00
ValKmjolnir
946aa020a5
🚀 add high resolution progress bar
2022-09-28 23:45:15 +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
dc3770094a
🚀 update test file
2022-09-20 21:51:52 +08:00
ValKmjolnir
791de656c3
🚀 update `ascii-art.nas` and `stl/padding.nas`
2022-09-20 00:41:08 +08:00
ValKmjolnir
cff9f91bee
🚀 move `pic` directory into `doc`
2022-09-19 00:10:08 +08:00
ValKmjolnir
06f02ec0cb
📝 update doc
2022-09-17 18:23:27 +08:00
ValKmjolnir
24ae1c246f
📝 fix help info align
2022-09-15 23:37:46 +08:00
ValKmjolnir
0576459fbe
📝 add notes in test files & use system("color") to use ANSI esc seq
2022-09-14 23:15:36 +08:00
ValKmjolnir
518ce7fcb9
📝 add interesting gifs into docs
2022-09-13 23:00:48 +08:00
ValKmjolnir
0e682b7c07
📝 update docs
2022-09-13 22:14:17 +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
6a6eab8db5
⚡ change parameter list of
2022-09-11 15:10:30 +08:00
ValKmjolnir
91b3074ce9
⚡ optimize `stl/sort.nas` and `test/calc.nas`
2022-09-10 15:45:25 +08:00
ValKmjolnir
10e579dabc
🐛 fix bug that word_collector.nas split some words incorrectly
2022-09-09 21:48:10 +08:00
ValKmjolnir
add5e0c2cd
📝 update test file & add new test file `word_collector.nas`
2022-09-09 01:00:09 +08:00
ValKmjolnir
1e0f0f8e7b
🐛 bug fix: fix sigsegv when parsing `[1,2,3][]=1;`, will report `expected index value`
2022-09-05 01:23:37 +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
6c04487319
🚀 add new stl file `padding.nas` and update test files.
2022-09-04 17:53:00 +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
52a38709bb
📝 diable warning C4566 in MSVC
2022-08-31 01:06:57 +08:00
ValKmjolnir
b022b25cea
🚀 add colorful error info print.
2022-08-31 00:56:19 +08:00
ValKmjolnir
27ceeb517d
🐛 fix bug that `make test` failed
2022-08-29 00:48:06 +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
0e578b3e21
📝 update stl/file and test files.
2022-08-27 17:26:01 +08:00
ValKmjolnir
24ba300f3c
🔥 delete `--opcnt` and replace the function of `-o` by `--optimize`.
2022-08-25 19:54:03 +08:00
ValKmjolnir
5be6351b60
⚡ delete unnecessary prefix in `die("")`
2022-08-25 01:16:17 +08:00
ValKmjolnir
a91826607c
⚡ optimize header file, now modules could generate smaller dynamic libs.
2022-08-24 22:08:47 +08:00
ValKmjolnir
987d3ce9e2
🚀 change indentation of `nasal_ast::print` & add new function
...
`nasal_ast::tree`.
2022-08-22 22:35:53 +08:00
ValKmjolnir
da8aa4744e
📝 add compilation time & update test/ppmgen.nas
2022-08-21 00:26:16 +08:00
ValKmjolnir
978957aca7
⚡ optimize str2num
2022-08-20 02:01:39 +08:00
ValKmjolnir
caf048aae4
⚡ several updates.
...
1. merge `--chkpath` `-cp` with `-d`
2. complete test/ppmgen.nas
3. update comments about why we don't use `atof` to convert string to
number
4. update .gitignore
2022-08-19 23:25:46 +08:00
ValKmjolnir
692f8ccefe
⚡ update doc & notes, optimize code
2022-08-18 20:41:33 +08:00
ValKmjolnir
007b83bed5
📝 add test file `ppmgen.nas`
2022-08-17 21:09:22 +08:00
ValKmjolnir
73278ea2dd
📝 update test/ascii-art.nas
2022-08-16 20:41:05 +08:00
ValKmjolnir
732a00a1cd
🚀 add `[[noreturn]]`
2022-08-16 01:40:22 +08:00
ValKmjolnir
bb0a2e3669
⚡ reduce unnecessary errors & make io.read safer
2022-08-11 01:48:02 +08:00