Adam Pippin
|
3fa0e7920e
|
Bugfix: Fix processing order for functions -- deepest nodes first
|
3 years ago |
Adam Pippin
|
41b26006ac
|
Cleanup + comments
|
3 years ago |
Adam Pippin
|
f58cd9129d
|
Add an `addCondition` method to compiler for calling from functions
|
3 years ago |
Adam Pippin
|
01b036b284
|
Move cfnpp code out from under engine namespace
|
3 years ago |
Adam Pippin
|
60f8d2be60
|
Also look at variables referenced in expressions when determining dependencies between variables
|
3 years ago |
Adam Pippin
|
b470283fde
|
Fix potential bug where using !unset on a variable would result in a crash
|
3 years ago |
Adam Pippin
|
9f5dda08de
|
Add compiler pass 2 - run remaining functions
We're now back to where we started functionality-wise!
|
3 years ago |
Adam Pippin
|
5a1b4f3402
|
Add compiler pass 1 -- resolve dependencies between variables and evaluate values
|
3 years ago |
Adam Pippin
|
1fd4bfb2b8
|
Cleanup
|
3 years ago |
Adam Pippin
|
0c70de8e8a
|
Compiler pass 0 using new dependency graph/etc
This gets us back mostly to where we were, sans running non-merge !functions and variable/parameter support
|
3 years ago |
Adam Pippin
|
1bb3e50cfb
|
Move cfnpp stuff into its own namespace
|
3 years ago |
Adam Pippin
|
4b26a910af
|
Have the compiler passed the entire set of documents + state to facilitate moving the higher-level compilation logic into the compiler
We're moving a bunch of the compilation logic building up inside Engine into the compiler
|
3 years ago |
Adam Pippin
|
c0b4fd7dd3
|
Code cleanup
|
3 years ago |
Adam Pippin
|
6b8439e3c2
|
Bugfix: don't try and iterate over the thing we're modifying
|
3 years ago |
Adam Pippin
|
de247299cd
|
Pass options in to compiler at construction instead of with each pass
We're going to use 'options' to also hold some mutated state, so let's just keep it simple
|
3 years ago |
Adam Pippin
|
1c1a2c5852
|
Docblocks and code cleanup
|
3 years ago |
Adam Pippin
|
2d4d9b725c
|
Refactor/rewrite compilation to be less like spaghetti
|
3 years ago |
Adam Pippin
|
f242056156
|
Add function processing and basic !Replace to cfnpp
|
3 years ago |
Adam Pippin
|
de8ab2d0d2
|
Basic merge compiler
|
3 years ago |
Adam Pippin
|
042478a27a
|
Flesh out engine + compile interface, add no-op compiler
|
3 years ago |