Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
kll/examples/assignment.kll
Jacob Alexander c1a1e844bb Adding kll file emitter and fixing array position merging
- Added kll file emitter
  * Re-constitutes KLL files from various stages of the compilation process
- Using kll file emitter added a basic assignment expression unit test
  * Added unit test to travis
- Fixed array assignment merging when using position operators
  * Required a special case merge
- Update output templates for kiibohd
2016-10-29 22:05:35 -07:00

10 lines
194 B
Plaintext

myVariable = 1;
myArray[] = a b c "b c" 3;
myIndex[5] = "this text" thing; # Single element
myIndex[6] = moar;
myVariable => Variable_define;
myArray => Array_define;
myIndex => Index_define;