Skip to content

Commit

Permalink
Add numeric base todo.
Browse files Browse the repository at this point in the history
  • Loading branch information
FourteenBrush authored Jan 19, 2024
1 parent c23741a commit 214ff96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ A list of examples (tests, which should all be working) can be found in the [tes
- [x] Implementing boolean logic, currently these can be implemented with functions
- [x] Implementing variables and constants
- [x] Make it possible to insert variables and functions on a non-global base
- [ ] Allow numeric values with different bases, e.g. 0x1, 0b2.
- [ ] Allowing to insert variables through the parser, e.g. "x = sqrt(16)"
- [ ] Allow multi-line expressions

Expand Down Expand Up @@ -222,4 +223,4 @@ env.insertSymbol(new Variable("z", 4));

double vectorMagnitude = ExpressionParser.parse("sqrt(pow(x, 2) + pow(y, 2) + pow(z, 2))", env);
assert vectorMagnitude == 6;
```
```

0 comments on commit 214ff96

Please sign in to comment.