Commit Graph

1201 Commits

Author SHA1 Message Date
ValKmjolnir 325a7236e7 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 5d67648d06 update doc & notes, optimize code 2022-08-18 20:41:33 +08:00
ValKmjolnir 81daeca4cb 📝 add test file ppmgen.nas 2022-08-17 21:09:22 +08:00
ValKmjolnir de7c7b81cc 📝 update test/ascii-art.nas v10.0 2022-08-16 20:41:05 +08:00
ValKmjolnir e92134c5e8 🚀 add [[noreturn]] 2022-08-16 01:40:22 +08:00
ValKmjolnir 88041d0903 reduce unnecessary errors & make io.read safer 2022-08-11 01:48:02 +08:00
ValKmjolnir 6f19398f90 🐛 fix compilation error of modules on macOS platform 2022-08-10 19:48:01 +08:00
ValKmjolnir d65b0b327f reduce unnecessary code & optimize code 2022-08-10 01:44:47 +08:00
ValKmjolnir 04281f59f2 reduce unnecessary native-function errors. 2022-08-09 01:34:47 +08:00
ValKmjolnir e51ba92f30 🚀 optimize code 2022-08-08 22:10:51 +08:00
ValKmjolnir eff98fa9b4 🚀 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 e6fb388701 📝 little change 2022-08-05 23:22:32 +08:00
ValKmjolnir 83c8d327bb 🐛 fix builtin_err in module to nas_err 2022-08-04 21:20:27 +08:00
ValKmjolnir db1a0c92a2 reduce code size 2022-08-03 23:03:49 +08:00
ValKmjolnir 1be6c55512 optimize code & shrink code size 2022-08-02 22:03:28 +08:00
ValKmjolnir d2b63b394e 📝 optimize codes 2022-08-01 22:51:19 +08:00
ValKmjolnir 13ddfa5050 📝 delete unnecessary code & change test file. 2022-07-31 19:26:13 +08:00
ValKmjolnir 4ab8a730a6 📝 change int in code to i32, optimize code. 2022-07-31 02:19:29 +08:00
ValKmjolnir 9c779b871f optimize code & chdir will not trigger crash if failed to call 2022-07-30 19:17:33 +08:00
ValKmjolnir 63452ff224 🚀 input now can choose std::getline to read one line. 2022-07-30 01:31:56 +08:00
ValKmjolnir 172c1d60f9 🐛 fix bug that dylib.dlopen cannot load dynamic lib in local dir. 2022-07-29 23:30:15 +08:00
ValKmjolnir ca6cb5daae 🐛 fix bug of incorrectly searching paths of lib.nas and dynamic libs.
`dylib.dlopen` now only needs file name of dynamic lib, not the real path.
2022-07-29 22:49:50 +08:00
ValKmjolnir fb37283be0 🚀 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 fc1d45d4e8 📝 add doc to help you create visual studio project. 2022-07-27 19:31:14 +08:00
ValKmjolnir 76aca0d528 correct types in nasal_codegen.h 2022-07-27 00:59:35 +08:00
ValKmjolnir 99e16c1c43 optimize nasal_parser 2022-07-26 20:04:57 +08:00
ValKmjolnir d350d94bc5 🚀 add new default bar in stl.process_bar 2022-07-25 22:15:40 +08:00
ValKmjolnir 8ca74aa39d 📝 update README 2022-07-25 20:09:41 +08:00
ValKmjolnir fa8a568f72 🚀 shrink stack size & optimize nasal_vm::traceback 2022-07-25 00:23:07 +08:00
ValKmjolnir a8d87f66c0 📝 fix error in README_zh.md 2022-07-24 17:16:44 +08:00
ValKmjolnir 7924511ca2 📝 fix error in README.md 2022-07-24 17:15:44 +08:00
ValKmjolnir 23a6dfa969 📝 change README.md & README_zh.md 2022-07-24 17:05:36 +08:00
ValKmjolnir 5ac4d3eae5 📝 update README.md & README_zh.md 2022-07-24 13:01:42 +08:00
ValKmjolnir 60e1eac07d 📝 update docs 2022-07-24 00:10:26 +08:00
ValKmjolnir 07e495842d 📝 split README.md to doc/benchmark.md doc/dev.md doc/dev_zh.md 2022-07-23 23:04:31 +08:00
ValKmjolnir bbfe3fff9a 📝 doc fix 2022-07-23 17:21:44 +08:00
ValKmjolnir 49a7ed28e9 🚀 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 65fe7daff6 📝 change name of used types 2022-07-23 12:35:21 +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 a3c3c34565 change some branches 2022-07-22 22:24:48 +08:00
ValKmjolnir 7a9ce29710 🚀 change std::cout to std::clog to put some log info 2022-07-21 23:16:16 +08:00
ValKmjolnir bec589b85f 📝 shrink size of README.md 2022-07-20 22:22:50 +08:00
ValKmjolnir 1a376c7ebd 📝 change README.md 2022-07-20 00:06:00 +08:00
ValKmjolnir 2fa59a7e95 optimize codes 2022-07-19 23:55:12 +08:00
ValKmjolnir dea85929cd 📝 change identifiers' name 2022-07-18 23:54:44 +08:00
ValKmjolnir 0d757c813b 🐛 fix bug in test/module_test.nas 2022-07-17 23:46:37 +08:00
ValKmjolnir 6037fdccc3 🐛 fix information print format on MSVC. 2022-07-16 18:47:27 +08:00
ValKmjolnir 2bf76525c6 📝 fix bug in doc README_zh.md 2022-07-16 18:01:53 +08:00
ValKmjolnir 38b533a3f2 📝 update docs. 2022-07-16 17:58:01 +08:00
ValKmjolnir accb677874 🐛 fix error use of FindFirstFile. 2022-07-16 17:47:43 +08:00