diff --git a/README.md b/README.md index fbe750a..607e9c5 100644 --- a/README.md +++ b/README.md @@ -39,5 +39,51 @@ bash build.c - [ ] Parser - [x] Create structure to hold nodes - [ ] Start parsing tree - - [ ] (this will be updated soon) + - [x] puts + - [x] Literal values + - [x] '=' + - [x] Maths + - [x] Brackets + - [ ] Comparisons + - [ ] Code blocks (` { } `) + - [ ] If + - [ ] While + - [ ] Function Definition + - [ ] Function Calls + - [ ] Structs + - [ ] new + - [ ] use + +- [ ] Ground compiler + - [x] Create structure to descend tree + - [ ] Check types + - [x] puts (none) + - [x] set (typeof children.at[1]) + - [x] Identifiers (scope->variables[idName]) + - [x] add (string, int, double) + - [x] subtract, multiply, divide (int, double) + - [ ] Comparisons (bool) + - [ ] Code block (none) + - [ ] if, while (none) + - [ ] Function definition (fun(...)) + - [ ] Function call (return type of function) + - [ ] Struct (template(...)) + - [ ] new (children[0]) + - [ ] use (none) + - [ ] Generate code + - [x] puts + - [x] Literal values + - [x] '=' + - [x] Maths + - [x] Brackets + - [ ] Comparisons + - [ ] Code blocks (` { } `) + - [ ] If + - [ ] While + - [ ] Function Definition + - [ ] Function Calls + - [ ] Structs + - [ ] new + - [ ] use +