1
1
mirror of https://github.com/kanaka/mal.git synced 2024-10-27 14:52:16 +03:00
Commit Graph

462 Commits

Author SHA1 Message Date
老刘
79aac15158 vbs: impl IOWrap class in io.vbs 2024-08-15 09:15:44 -05:00
老刘
5d55568c9c vbs: import variable MAL_VBS_IMPL_NO_STDERR & MAL_VBS_IMPL_ECHO_STDIN 2024-08-15 09:15:44 -05:00
老刘
7e7ff1fbca vbs: test WSH.Echo "\nuser>" 2024-08-15 09:15:44 -05:00
老刘
512579cab1 vbs: remove run.cmd 2024-08-15 09:15:44 -05:00
老刘
fe7b2804b1 vbs: Replace All StdErr with StdOut 2 2024-08-15 09:15:44 -05:00
老刘
d3b31c0e93 vbs: Replace All StdErr with StdOut 2024-08-15 09:15:44 -05:00
老刘
f99240c340 vbs: because step6 argv test fail, restore run to remove cmd from it 2024-08-15 09:15:44 -05:00
老刘
17f1601d24 vbs: Unify newlines to LF for fix step6 slurp's error 2024-08-15 09:15:44 -05:00
老刘
1e404d5664 vbs: remove some comments 2024-08-15 09:15:44 -05:00
老刘
128afb113f vbs: use "2>&1" to combine stderr -> stdout 2024-08-15 09:15:44 -05:00
老刘
c91acfb22f vbs: Consider introducing the MAL_VBS_IMPL_NO_STDERR environment variable 2024-08-15 09:15:44 -05:00
老刘
d59b29c2a3 vbs: try exec stdbuf -o0 -e0 2024-08-15 09:15:44 -05:00
老刘
45dba4cbb5 vbs: append print to check out the cmdline 2024-08-15 09:15:44 -05:00
老刘
31fa6bc917 vbs: Merge branch 'kanaka:master' into master 2024-08-15 09:15:44 -05:00
老刘
6822f8c715 vbs: Simplify run.cmd 2024-08-15 09:15:44 -05:00
老刘
bfc0dbc4f5 vbs: remove the restriction that the first argument to 'apply' must be a function. 2024-08-15 09:15:44 -05:00
老刘
24ac2eeaf5 vbs: add an run script for pass the step6's argv_test 2024-08-15 09:15:44 -05:00
老刘
519524fba4 vbs: add return values to the test samples I wrote myself 2024-08-15 09:15:44 -05:00
老刘
92777df4aa vbs: replace bash script with batch script 2024-08-15 09:15:44 -05:00
老刘
a8f009b89b vbs: Merge branch 'master' into cy20lin-fix-windows-runtest 2024-08-15 09:15:44 -05:00
老刘
b9a26bea7e vbs: add an makefile to vbs impl 2024-08-15 09:15:44 -05:00
老刘
3ea750e652 vbs: add an 'run' script for vbs impl 2024-08-15 09:15:44 -05:00
OldLiu
900b82ff84 vbs: fix print privous return value in repl error 2024-08-15 09:15:44 -05:00
OldLiu
b23fcf5b16 vbs: rewrite error strings & remove my debug error info 2024-08-15 09:15:44 -05:00
OldLiu
7571c1923d vbs: fix (rest nil) try+catch+throw 's bugs 2024-08-15 09:15:44 -05:00
OldLiu
4682d3fc45 vbs: STEPA FINISH!!! 2024-08-15 09:15:44 -05:00
OldLiu
08434c3bae vbs: step9 pass! 2024-08-15 09:15:44 -05:00
OldLiu
b1d5b2f21c vbs: step9 finish except hashmap 2024-08-15 09:15:44 -05:00
OldLiu
9025928f53 vbs: step9 finished a quarter 2024-08-15 09:15:44 -05:00
OldLiu
19e780791e vbs: step8 finish! 2024-08-15 09:15:44 -05:00
OldLiu
0ca4cf28e6 vbs: step8 a half finished 2024-08-15 09:15:44 -05:00
OldLiu
475ded6a80 vbs: rewrite quasiquote with quasiquoteexpand & fix vec 2024-08-15 09:15:44 -05:00
OldLiu
8932321327 vbs: step 7 finish a half 2024-08-15 09:15:44 -05:00
OldLiu
f72d1d5dad vbs: rewrite all: normal fun will recive Env also 2024-08-15 09:15:44 -05:00
OldLiu
a7d3c59b23 vbs: step6 finish! 2024-08-15 09:15:44 -05:00
OldLiu
bf185a3374 vbs: fix ByRef's bug, todo: fix mem leak 2024-08-15 09:15:44 -05:00
OldLiu
e1abc7063c vbs: move specials from core to step4 2024-08-15 09:15:44 -05:00
OldLiu
0ed5b5121f vbs: add prn println str prn-str 2024-08-15 09:15:44 -05:00
OldLiu
89ff2dea63 vbs: fix evaluater's bug (create instead modify a list) 2024-08-15 09:15:44 -05:00
OldLiu
f1eb294ece vbs: add some functions 2024-08-15 09:15:44 -05:00
OldLiu
7136b8d877 vbs: rewrite step4 1 2024-08-15 09:15:44 -05:00
老刘
b77851c0b9 vbs: rewrite step3 & fix bugs 2024-08-15 09:15:44 -05:00
老刘
ed793f2046 vbs: Rewrite step2 2024-08-15 09:15:44 -05:00
老刘
d9f5be1700 vbs: new file 'types.vbs' & fix bugs & rewrite 2024-08-15 09:15:44 -05:00
老刘
2731ad293a vbs: rewrite step0 & 1 2024-08-15 09:15:44 -05:00
老刘
ffd110e0da vbs: rewrite codes 2024-08-15 09:15:44 -05:00
老刘
40e4bf6b72 vbs: env hotfix
combine env(when fn created) and running env into one
2024-08-15 09:15:44 -05:00
老刘
1a9d82ddde vbs: fix env's big bug
Env binding should happen in function calling
2024-08-15 09:15:44 -05:00
OldLiu
c458f9703f vbs: fix fn* calling bug which evaluate code twice 2024-08-15 09:15:44 -05:00
OldLiu
6649394940 vbs: core miss, added 2024-08-15 09:15:44 -05:00