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
|
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
|
d350d94bc5
|
🚀 add new default bar in stl.process_bar
|
2022-07-25 22:15:40 +08:00 |
|
ValKmjolnir
|
60e1eac07d
|
📝 update docs
|
2022-07-24 00:10:26 +08:00 |
|
ValKmjolnir
|
b29edcace4
|
📝 change codes in test files.
|
2022-07-14 19:52:27 +08:00 |
|
ValKmjolnir
|
00c7c4044a
|
⚡ optimize code & replace all printf with std::cout.
|
2022-07-09 23:36:14 +08:00 |
|
ValKmjolnir
|
bdd0cb2912
|
📝 change some identifiers' name.
|
2022-07-09 16:24:58 +08:00 |
|
ValKmjolnir
|
aea8b317c7
|
🚀 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
|
a402e6d7d2
|
🚀 add a new way to import other files:
`import("./stl/queue.nas");` now has same function as `import.stl.queue;`
|
2022-07-06 22:21:01 +08:00 |
|
ValKmjolnir
|
f3ba80b41c
|
📝 unify code style of ./stl ./test
|
2022-07-02 13:53:50 +08:00 |
|
ValKmjolnir
|
7d75904fab
|
📝 update docs
|
2022-06-17 22:18:34 +08:00 |
|
ValKmjolnir
|
9d4a0e1b1f
|
📝 update stl/process_bar.nas
|
2022-06-16 01:03:51 +08:00 |
|
ValKmjolnir
|
031c56b08b
|
📝 update stl/process_bar.nas and test/md5compare.nas
|
2022-06-15 20:21:03 +08:00 |
|
ValKmjolnir
|
bc90022dff
|
🚀 add stl/log.nas and stl/process_bar.nas
|
2022-06-15 00:36:49 +08:00 |
|
ValKmjolnir
|
60952e1d2f
|
🚀 add os.time() to get the local time string
|
2022-06-12 19:08:31 +08:00 |
|
ValKmjolnir
|
b8283c5743
|
📝 optimize stl/fg_env.nas
|
2022-06-12 16:55:59 +08:00 |
|
ValKmjolnir
|
d4d21f7af3
|
📝 update stl/fg_env.nas
|
2022-06-11 20:53:13 +08:00 |
|
ValKmjolnir
|
ec2866021f
|
✨ add native function runtime.argv() to get command line arguments
|
2022-06-04 20:12:00 +08:00 |
|
ValKmjolnir
|
6f709f30f5
|
🚀 add native function println & add test/occupation.nas
|
2022-06-04 19:22:28 +08:00 |
|
ValKmjolnir
|
c17ab5f46a
|
🐛 fix unix.isdir & unix.isfile
|
2022-06-03 21:53:14 +08:00 |
|
ValKmjolnir
|
954310293d
|
⚡ add u32 and() xor() or() nand() not()
|
2022-06-03 21:34:02 +08:00 |
|
ValKmjolnir
|
c1808a7875
|
🚀 use ftime to calculate run time
|
2022-06-02 22:51:43 +08:00 |
|
ValKmjolnir
|
ece6142475
|
🚀 add stl/fg_env.nas & delete test/props props_sim maketimer_sim.nas
|
2022-05-31 20:36:39 +08:00 |
|
ValKmjolnir
|
8915a9b96a
|
🚀 add coroutine library(beta) and lib function settimer&maketimestamp
|
2022-05-19 20:09:23 +08:00 |
|
ValKmjolnir
|
2542f4e43e
|
📝 update test/module_test.nas
|
2022-05-17 21:48:08 +08:00 |
|
ValKmjolnir
|
387d44f9cb
|
📝 update test files
|
2022-05-17 18:22:24 +08:00 |
|
ValKmjolnir
|
3e418dbcff
|
🐛 bug fix
|
2022-05-06 20:58:02 +08:00 |
|
ValKmjolnir
|
e1f1fc64c4
|
update test file diff.nas& add math.max math.min
|
2022-05-01 21:10:23 +08:00 |
|
ValKmjolnir
|
ad60aecdee
|
change module/libmd5 to native function builtin_md5() in nasal_builtin.h
|
2022-04-06 22:30:49 +08:00 |
|
ValKmjolnir
|
0b4db9467e
|
add native function abort(), assert()
|
2022-04-06 21:25:20 +08:00 |
|
ValKmjolnir
|
28ca3baf87
|
add native function isa(object,class)
|
2022-04-05 22:33:55 +08:00 |
|
ValKmjolnir
|
8b7e0e5181
|
add native function: srand, values, find.
|
2022-04-05 22:15:05 +08:00 |
|
ValKmjolnir
|
60a74a13c8
|
bug fixed & add systime, finished vecindex
|
2022-04-04 19:08:48 +08:00 |
|
ValKmjolnir
|
b92930cb71
|
bug fix & optimize test code & add lib function: subvec, floor, abs, isfunc, isghost, isint, isnum, isscalar, isstr, isvec, vecindex(unfinished)
|
2022-04-04 18:38:25 +08:00 |
|
ValKmjolnir
|
51e9b0b5ab
|
add math.pow
|
2022-03-27 16:14:55 +08:00 |
|
ValKmjolnir
|
1d5e2f5654
|
add unix.waitpid
|
2022-03-16 18:44:38 +08:00 |
|
ValKmjolnir
|
8309a6211a
|
add unix.fork&unix.pipe(do not work on windows platform)
|
2022-03-09 19:03:12 +08:00 |
|
ValKmjolnir
|
b786dd0209
|
safer stl/module.nas & add stl/file.nas encapsulated from lib.nas/io
|
2022-03-06 15:17:39 +08:00 |
|
ValKmjolnir
|
15c5fbb1fb
|
add module.nas to safely use dylib
|
2022-03-05 21:52:29 +08:00 |
|
ValKmjolnir
|
ebb601abbf
|
add unix.environ() & use LPCWSTR in dylib.dlopen on Windows platform
|
2022-03-05 19:15:52 +08:00 |
|
ValKmjolnir
|
2be7324cde
|
change parameter name in native function split.
|
2022-02-17 23:34:58 +08:00 |
|
ValKmjolnir
|
4fa2a45a07
|
little update
|
2022-02-10 22:20:18 +08:00 |
|
ValKmjolnir
|
6908e509ac
|
add notes in lib.nas & add runtime.gc() & add total instruction count in '-o'.
|
2022-02-09 15:53:09 +08:00 |
|
ValKmjolnir
|
6601912de4
|
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
|
82181b7af4
|
add debugger framework
with function:backtrace,run,help,show global/local/upvalue,exit
|
2021-12-20 21:33:22 +08:00 |
|
ValKmjolnir
|
e706214854
|
bug fixed & add os.platform
|
2021-12-08 18:46:32 +08:00 |
|