Commit Graph

65 Commits

Author SHA1 Message Date
db3402f885 throwCompileError in expBuilder 2021-11-10 15:45:04 -07:00
2eb24a8c3f separate forHScript() and forMacroEval() 2021-11-10 11:37:16 -07:00
b754527877 fix GenerativeTestCase 2021-11-09 20:33:44 -07:00
5c7d2931c1 Less hacky macro-time evaluation 2021-11-09 18:55:33 -07:00
0d8560153f allow catch in defMacro without :Dynamic 2021-10-28 14:48:23 -04:00
ecd0c50cc5 instead of removing type annotations from hscript, allow them in the parser 2021-10-28 13:25:43 -04:00
40e686f95e make libPath part of Prelude 2021-10-22 16:26:19 -04:00
745b9b42c4 trim libPath 2021-10-19 13:53:39 -04:00
95a14cd509 parseComplexType better error handling 2021-10-12 12:29:07 -06:00
f3196f4f42 (macroDepth) and generativetestcase depth limit 2021-08-08 11:42:24 -06:00
3ec1e210b3 helpful error when hscript fails to parse a macro body 2021-08-04 20:52:07 -06:00
ed4a24a03d printExp, printStr 2021-08-04 20:07:15 -06:00
6cb86e9027 lower the priority of some debug prints to macrotest only 2021-08-04 20:06:27 -06:00
960ab35314 pass reflection and expression evaluation to macro evaluator 2021-08-04 16:48:03 -06:00
2359ef21ac defMacroVar, defMacroFunction 2021-08-04 15:08:58 -06:00
f6894148a0 clone the macro evaluation interpreter between stack frames 2021-08-04 14:48:10 -06:00
9914bf5a27 pass typed data back and forth with #extern. close #17 2021-07-26 19:55:28 -06:00
0586a1dc4f (#extern) without binding support 2021-07-26 18:59:09 -06:00
4e617102f2 assertProcess support nodejs ChildProcess 2021-07-26 15:09:14 -06:00
baf0c38135 compileToFile() working for hello world 2021-07-25 23:55:52 -06:00
18df898344 add None ReaderExp type 2021-07-25 21:05:43 -06:00
7739c6fd28 Rough implementation of list-eater pattern matching. Close #1 2021-07-22 15:58:21 -06:00
fb83821d14 WIP overhaul operand and variadic functions 2021-07-13 18:29:11 -06:00
c29ea24397 fix ,@ error message 2021-07-12 20:00:39 -06:00
1134b50caf refactoring aoc 2021-07-12 18:41:39 -06:00
7680c7a252 expBuilder().callSymbol 2021-07-12 13:56:38 -06:00
c7d26ab98c exprCase 2021-06-26 19:36:45 -06:00
560825fbf5 unreserve args as keyword in macro definitions 2021-06-26 11:39:42 -06:00
fe85c15060 fix regression in defun/defmethod 2021-06-23 13:28:45 -06:00
72547648e9 allow defmethod without body 2021-06-23 13:20:02 -06:00
716149ef06 allow unquoting into a meta expression 2021-06-12 21:45:25 -06:00
5a4686d977 (symbol) and (expList) for macros 2021-06-12 21:28:48 -06:00
4b93292b32 Always return macro expansions as ReaderExp with pos 2021-06-12 21:26:01 -06:00
b459c2f4aa Move ReaderExp to its own file 2021-05-21 16:13:00 -06:00
1a65b4aa38 defnew allow empty binding list 2021-05-21 12:57:10 -06:00
cf99052b1b KissInterp 2021-05-18 17:39:11 -06:00
76a690710f remove type annotations within meta exps 2021-05-18 17:07:46 -06:00
b07fd8b6cf remove type annotations from expressions for hscript consumption 2021-05-18 16:45:21 -06:00
4739c0f881 defnew &prop 2021-05-17 08:11:46 -06:00
1680bbe517 fix formatting 2021-05-03 17:29:35 -06:00
39e1d8ae2a Fix type annotation for &mut properties in defnew 2021-05-03 15:24:50 -06:00
2acefb133d (once) and (oncePerInstance) 2021-04-27 20:05:57 -06:00
1f5e06a334 defnew 2021-04-24 14:53:55 -06:00
72887e7b34 Test macro list expansion 2021-04-02 12:51:15 -06:00
fc0030f343 Allow &meta and :Void to co-exist 2021-03-17 11:44:20 -06:00
96d08e5d88 Void function support 2021-03-17 11:15:12 -06:00
a0a42e7ffd DRY bindingList() extractor 2021-01-16 21:38:45 -07:00
b5a098e587 Convert most withPosOf() usage 2021-01-16 21:38:45 -07:00
9cc9407db6 helper for clean expression building 2021-01-16 21:38:45 -07:00
a2555dc0c1 Nested (or) in (case) patterns 2021-01-04 09:02:06 -07:00