added functions to parser

This commit is contained in:
Lauchmelder 2021-11-28 02:20:12 +01:00
parent 79c54f3c0d
commit 01165d43fb
5 changed files with 91 additions and 11 deletions

View file

@ -1,2 +1,9 @@
[point(3, 4) -> A]
line(A, point(7, 8))
point(0.2378, -34.389) -> A
point(2.5, 0) -> B
[point(-1, 3) -> C]
line(A, B) -> AB
line(B, C)
line(C, A)
circle(A, len(AB))