Commit Graph

19 Commits

Author SHA1 Message Date
e37f68424b Improved math expressions (#6)
* Improved math expressions

Things are in a better state, + - / * work now for basic const var = 5 <operator> 1

Though the current method I'm using to make the ast isn't really going to work for dealing with precedence rules so some refactoring is needed going forward

* get complex math expressions working with precedence including parans

Node that identifiers are working, call expressions are not, that's a TODO
/ * % + - are working both other things like exponent and logical operators are also not working.
Recasting is the most important thing to implement next

* get recasting working for nested binary expressions

* clean up
2023-01-21 21:23:01 +11:00
9ad6b946c0 massive overhall to how program memory works and how artifacts their metada are rendered 2023-01-08 16:37:31 +11:00
a1f844b0b1 add member expression 2023-01-03 19:41:27 +11:00
d2a4bb7851 refactor makeValue and makeDeclatator to reduce code duplication 2023-01-02 12:20:32 +11:00
dbf8a993e5 add object declarations 2023-01-01 21:48:30 +11:00
3d6f5982c2 add array declarations 2022-12-30 21:53:50 +11:00
f6c4250947 add start of extrude 2022-12-30 14:09:07 +11:00
034c903672 add the ability to edit sketch later 2022-12-06 05:40:05 +11:00
b114d61053 fix execution of piped sketches 2022-12-04 08:16:04 +11:00
f0076309ef pipe working for everything except sketches 2022-12-03 22:50:46 +11:00
ade1e9fb82 start of code gen from direct manipulation 2022-11-28 09:37:46 +11:00
022788b2a3 add base sketch function to language 2022-11-26 21:03:38 +11:00
48e59ac710 remove semi-colons 2022-11-26 08:38:57 +11:00
5ce89d83fc sketch code to 3d scene initial connection working 2022-11-23 21:28:38 +11:00
efea712a2f add preliminay 'show' function 2022-11-21 09:16:24 +11:00
701cb2d48f finish sketch expressions with path calls within 2022-11-21 08:57:44 +11:00
e5a527b519 make test more meme worthy 2022-11-20 09:57:02 +11:00
082730bb2e Refactor executor to make it able to call recursively
and Add variable declarator using callExpression AST test
2022-11-20 09:41:21 +11:00
c3b415d1f2 inital basical executor 2022-11-16 10:08:57 +11:00