diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-12 16:19:55 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-13 12:30:49 +0100 |
| commit | e0ade28ab642c043501493fe7192b626a6a68115 (patch) | |
| tree | 7bfa065b5f80f6c245137244cb37d8691c02f488 /src/manifest | |
| parent | 37e52bff39a1fe4d442cb253773252030c1cab8a (diff) | |
| download | computorv2-e0ade28ab642c043501493fe7192b626a6a68115.tar.gz computorv2-e0ade28ab642c043501493fe7192b626a6a68115.tar.bz2 computorv2-e0ade28ab642c043501493fe7192b626a6a68115.zip | |
Caveman parsing working
(brain hurty)
Diffstat (limited to 'src/manifest')
| -rw-r--r-- | src/manifest | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/manifest b/src/manifest index dc03948..60f7683 100644 --- a/src/manifest +++ b/src/manifest @@ -10,10 +10,11 @@ State Data struct: - variable -1. ( ) -2. ^ -3. * / % ** +5. real imag matrix 4. + - +3. * / % ** +2. ^ +1. ( ) expr ::= <term> (+ | -) <expr> | <term> term ::= <factor> (* | / | % | **)? <term> | <factor> -- default to '*' |
