Add an argument parser

This commit is contained in:
2022-06-05 23:43:45 +02:00
parent 5490f6ce1c
commit 7b3dac3c3b
22 changed files with 2481 additions and 900 deletions

View File

@ -1,3 +1,3 @@
const a = 1, b = 2;
! + a b
! a + b
.

View File

@ -0,0 +1 @@
8

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1,2 @@
! (3 + 4) + 1
.

2
tests/subtraction.eln Normal file
View File

@ -0,0 +1,2 @@
! 5 - 4
.

2
tests/sum.eln Normal file
View File

@ -0,0 +1,2 @@
! 1 + 7
.

View File

@ -1,2 +0,0 @@
! + 1 7
.

2
tests/sums.eln Normal file
View File

@ -0,0 +1,2 @@
! 1 + (3 + 4)
.

View File

@ -1,2 +0,0 @@
! + 1 (+ 3 4)
.