Commit Graph

12 Commits

Author SHA1 Message Date
Valk Richard Li a3d629a08e bug fixed & more efficient callfv
I changed callfv's way of calling a function with arguments in vm_vec.
now callfv fetches arguments from val_stack directly,so it runs test/fib.nas from 2.4s to 1.9s.

delete operand callf,add operands callfv & callfh.

also,i check val_stack's top to make sure there is not a stack overflow.
2021-06-03 21:49:31 +08:00
Valk Richard Li 1f6e1a647e add stl & more efficient scope 2021-04-02 22:19:29 +08:00
Valk Richard Li a990fb606a gc changed to mark-sweep 2021-03-27 01:08:05 +08:00
Sidi Liang de154cd335 Library: added comment for chr 2021-02-13 21:43:07 +08:00
Sidi Liang 2eb0a6b332 Library: Added core library function chr according to FlightGear Nasal 2021-02-13 21:40:10 +08:00
Sidi Liang 9d5eafda09 Library: Added core library function streq and cmp according to FlightGear Nasal 2021-02-13 21:09:13 +08:00
Sidi Liang db1b28898c Library: Added core library function left and right according to FlightGear Nasal 2021-02-13 20:19:49 +08:00
Valk Richard Li 88b34c826c update 2021-02-12 22:27:41 +08:00
Valk Richard Li 761fbb6c31 update math.pi :) 2020-11-09 00:33:15 +08:00
Valk Richard Li 3868e986fb update 2020-11-02 12:24:12 +08:00
Valk Richard Li ea99e073f7 update 2020-10-25 22:15:49 +08:00
Valk Richard Li 84f09cb932 change project structure
version 3.0
2020-10-23 14:53:04 +08:00