622 Commits

Author SHA1 Message Date
Wang Renxin
82a3acfcce #43 *Clarified error of assigning to reserved words. 2021-06-28 10:01:47 +08:00
Wang Renxin
789019fb4a *fixed a compiling issue. 2021-03-12 14:07:02 +08:00
Wang Renxin
dbd7acdc9d #41 *Fixed a locale issue. 2021-03-12 13:46:00 +08:00
Wang Renxin
1094cadc55 *refactored str(...). 2021-03-09 13:42:18 +08:00
Johnny
255eb52602
Added handling of strings in STR() too 2021-03-08 17:55:48 +01:00
Wang Renxin
5de031245d +added an "HTML" return value to the os() function. 2021-03-02 14:06:38 +08:00
Wang Renxin
281a292d94 *welcome 2021. *updated the reference document. 2021-01-22 16:24:42 +08:00
Wang Renxin
e7a6307b81 *fixed a random generation bug. 2020-11-06 19:48:57 +08:00
Wang Renxin
b55f50e4e5 *improved incomplete IF structure error prompting. 2020-04-09 17:12:22 +08:00
Wang Renxin
5bd179b199 *refactored _set_real_with_hex to avoid c4310 (vc). 2019-10-17 11:27:58 +08:00
Ben Combee
38bf98e25e Silence GCC -Woverflow warnings in _set_real_with_hex
GCC with -Woverflow will warn in _set_real_with_hex because of integer
overflow in assigning the temp value from a constant expression.
The code causing the warning isn't run, but since it's compiled in,
using the casts will tell the compiler that we know what we're doing.
2019-10-16 19:42:26 -05:00
Wang Renxin
8c6927ca5c #28 *typo. 2019-03-28 23:38:29 +08:00
Wang Renxin
d89d018823 *fixed a memory leak when reassigning an array element with string. 2019-03-16 15:26:11 +08:00
Wang Renxin
3630e237f5 *fixed some crash and hanging with invalid expression and routine. 2019-02-03 00:19:38 +08:00
Wang Renxin
67353d1da8 *fixed a wrong scope processing bug when resetting interpreter. 2018-12-31 16:13:06 +08:00
Wang Renxin
c41de6cd70 *fixed a mod by zero bug with real number. 2018-11-10 23:14:40 +08:00
Wang Renxin
c394f5ac19 *fixed a memory leak with wrong iterator usage. 2018-11-05 12:09:05 +08:00
Wang Renxin
3eff55c2aa *fixed a crash bug when using an iterator in a conditional expression. 2018-11-05 11:42:53 +08:00
Wang Renxin
5086a53415 *fixed a crash bug with incomplete structures. 2018-07-30 15:06:27 +08:00
Wang Renxin
de22cd2717 *breaks on end. 2018-07-25 15:52:09 +08:00
Wang Renxin
f06f611c50 *fix compile error. 2018-07-25 15:22:28 +08:00
Wang Renxin
1d25d54f54 *fixed a real number formatting bug with different locales. 2018-07-25 15:15:37 +08:00
Wang Renxin
f1fba035ac *fixed a multiple disposing bug with upvalues. 2018-07-14 19:04:49 +08:00
Wang Renxin
52ae9c8cac -removed some unnecessary context checking. 2018-07-04 15:58:09 +08:00
Wang Renxin
a5b3447918 *reordered a few functions. 2018-06-29 16:14:24 +08:00
Wang Renxin
fb6d76fe9a *fixed a wrong error with the VAL statement. 2018-05-09 15:30:07 +08:00
Wang Renxin
e164d3c428 *fixed a crash bug in invalid conditional expression with class member, thanks to AaBc for pointing it out. 2018-05-09 13:20:54 +08:00
Wang Renxin
fd9e34b9d1 -avoided a warning when a c++ compiler refers char to unsigned. 2018-04-20 13:04:30 +08:00
Wang Renxin
f74dc06e6c -removed register storage class specifiers. 2018-04-18 20:37:18 +08:00
Wang Renxin
d57266910f +added a redir parameter to mb_get_var. 2018-03-27 16:01:30 +08:00
Wang Renxin
48403dc1a0 *fixed a string assignment issue with class member. 2018-03-11 12:32:58 +08:00
Wang Renxin
35944a5565 *fixed a stepping bug in the if statement. 2018-03-10 14:06:34 +08:00
Wang Renxin
ae4053c687 *fixed a gc bug with ranged for loop. 2018-03-09 18:31:31 +08:00
Wang Renxin
7b6fda8011 *fixed some compile issues with cpp compiler. 2018-02-12 14:56:29 +08:00
Wang Renxin
49b1e1bf55 -compile warnings. 2018-02-08 15:39:53 +08:00
Wang Renxin
a6814213b3 *fixed a crash bug with invalid collection index. 2018-01-15 22:39:05 +08:00
Wang Renxin
842e01bf41 *fixed some issues when invoking a sub routine. 2018-01-15 19:22:45 +08:00
Wang Renxin
b6a4a3e314 *minor improvement for macros. 2018-01-06 14:29:32 +08:00
Wang Renxin
4edc80d026 *fixed a parsing bug with unary negative operator. 2018-01-03 20:57:15 +08:00
Wang Renxin
a08c6c845c *happy new year. hope i can make a release of v1.2 in 2018. 2017-12-30 12:31:07 +08:00
Wang Renxin
a34a3dffe7 *refactored parameters of calculation handlers. 2017-12-28 15:45:38 +08:00
Wang Renxin
408e5fa55e +added a parameter to the calculation handler macro. 2017-12-28 14:08:06 +08:00
Wang Renxin
2007ff93d0 +added two uprootable stubs: _ONCALC, _ONNEG. 2017-12-15 20:09:57 +08:00
Wang Renxin
f4a9fc1cda *fixed a referencing bug with the if statement. 2017-11-28 16:01:24 +08:00
Wang Renxin
0641d64bc0 *fixed a number comparison bug. 2017-11-25 19:55:21 +08:00
Wang Renxin
69036f748e *fixed a crash bug with the do-until statement. 2017-11-25 17:32:39 +08:00
Wang Renxin
6ff2f37a6d *fixed a lookup issue with the mb_get_var function. 2017-11-25 14:47:05 +08:00
Wang Renxin
246348777d +added an _ONCOND macro. 2017-11-20 13:59:18 +08:00
Wang Renxin
e2492be76e -simplified error codes, removed some of them. 2017-11-18 20:23:42 +08:00
Wang Renxin
347867e42b +added _PREVCALL and _POSTCALL. 2017-11-18 13:56:39 +08:00