cd23430f5f
DEV: Complex Format expressions are supported now.
2019-10-17 17:57:04 -05:00
e3f9b685c6
DEV: SimpleFormat expressions work.
2019-10-17 17:57:04 -05:00
405ad2880e
DEV: Simple formatting works
2019-10-17 17:57:04 -05:00
422569c7b4
DEV: Tuple and List values are translatable.
2019-10-17 17:57:04 -05:00
52a66bae8b
DEV: Let bindings work.
2019-10-17 17:57:04 -05:00
c792d758d7
DEV: List indexing works.
2019-10-17 17:57:04 -05:00
40fc6fe15f
DEV: Modulus operator works.
2019-10-17 17:57:04 -05:00
a36322461e
DEV: And and Or operators work
2019-10-17 17:57:04 -05:00
48ea8b30ef
DEV: Type check expressions work.
2019-10-17 17:57:04 -05:00
2bfb1ee6fe
DEV: Regex binary expressions work.
2019-10-17 17:57:04 -05:00
c19a51424f
DEV: Not expressions compile
2019-10-17 17:57:04 -05:00
badf370dfb
DEV: NotEqual and other comparisons fixes.
2019-10-17 17:57:04 -05:00
059c336990
DEV: Grouped Expressions compile.
2019-10-17 17:57:04 -05:00
01a379f79c
DEV: Simple binary expressions compile.
2019-10-17 17:57:04 -05:00
27ac204c48
DEV: Simple scalar expressions compile.
2019-10-17 17:57:04 -05:00
9f31a16b93
DEV: A first pass at the runtime.
...
Minus the actual compiling of a file in imports.
2019-10-17 17:57:04 -05:00
a7aab10723
DEV: The beginnings of a runtime for the opcode vm.
2019-10-17 17:57:04 -05:00
fa2ad0c5a9
REFACTOR: Code organization.
2019-10-17 17:57:04 -05:00
102f0f5ae1
DEV: Indexing operation.
2019-10-17 17:57:04 -05:00
a50eb46c5e
FIX: Rc instead of borrows because the lifetimes get unweildy.
2019-10-17 17:57:03 -05:00
3cb73e9543
FIX test input to be clear about the success condition.
2019-10-17 17:57:03 -05:00
ed143b6a00
REFACTOR: modules and functions carry around a reference to their code.
2019-10-17 17:57:03 -05:00
fa294a2188
DEV: Default test case for select expressions.
2019-10-17 17:57:03 -05:00
c1f84c4861
REFACTOR: JumpIfNotEqual -> SelectJump
2019-10-17 17:57:03 -05:00
673cb8f8b7
MAINT: Cleanup up the InitThunk operation to use i32
2019-10-17 17:57:03 -05:00
996d8821d7
DEV: Unit test verifying we can implement a select expression.
...
* Also unify our jumps as relative jumps
2019-10-17 17:57:03 -05:00
aac263be2c
DEV: DSL for table based testing using macros.
2019-10-17 17:57:03 -05:00
3bb6f6e8eb
DEV: JumpIfFalse op code.
2019-10-17 17:57:03 -05:00
56174cbe52
DEV: Make it an error to reuse a name in a scope.
2019-10-17 17:57:03 -05:00
da3e235942
DEV: Function and Module operations
2019-10-17 17:57:03 -05:00
7242a68ff9
MAINT: Cleanup warnings and unnecessary qualifiers.
2019-10-17 17:57:03 -05:00
53c7dfb1ce
DEV: Conditional Jumps
2019-10-17 17:57:03 -05:00
7de2e1c349
DEV: Equality Ops
2019-10-17 17:57:03 -05:00
dc7437a8c1
DEV: Implement Jumping
2019-10-17 17:57:03 -05:00
04480663e8
TESTS: Expresions as field values in lists and tuples.
2019-10-17 17:57:03 -05:00
c6037f6ea7
REFACTOR: reference the Composite types directly.
2019-10-17 17:57:03 -05:00
b6c208fb97
REFACTOR: Keep the bytecodes in memory
...
This will help us implement functions and modules.
Also move each of the operations into a separate method.
This will help the readability of our run method.
2019-10-17 17:57:03 -05:00
d7da091b83
DEV: List and Tuple construction.
2019-10-17 17:57:03 -05:00
d4b7bdcd46
DEV: Basic primitives and operations on them in a VM Stack Machine.
2019-10-17 17:57:03 -05:00
acffc6d5da
MAINT: cargo fmt
2019-10-02 20:56:09 -05:00
acfd343c7a
FIX: Give fmt a --overwrite flag.
...
Fixes : #51
2019-10-02 20:55:48 -05:00
b9309ce12b
FIX: Don't print an extraneous new line on fmt.
...
Fixes : #49
2019-10-02 19:55:40 -05:00
8f64d3385a
FIX: Exit with non-zero exit code when fmt fails
...
Fixes #50
2019-10-02 19:55:39 -05:00
b83c57b1f6
FIX: Builds on windows now.
2019-10-02 19:55:39 -05:00
ebb06c169b
FIX: Add newlines to yaml config output.
...
Fixes #48
2019-10-02 19:55:31 -05:00
49a64251a4
MAINT: cargo fix
...
Mostly to add the dyn keyword all the places where it will soon
be required.
2019-09-18 20:09:57 -05:00
97c25e076f
Make this a little more general.
2019-09-18 19:10:17 -05:00
Jeremy Wall
4ec27ff426
DEV: Collapse fields when merging yaml maps
2019-08-13 09:48:13 -05:00
Jeremy Wall
949d468f55
DEV: Fix escaping in both strings and format strings.
2019-08-12 18:10:48 -05:00
Jeremy Wall
dffa535f1b
DEV: Support the merge key syntax for yaml deserialization.
...
https://yaml.org/type/merge.html
2019-08-12 13:19:56 -05:00