You are browsing as a guest. Sign up (or log in) to start making projects!

2h 16m 6s logged

So…..First, I made some changes in the syntax of the language:

  • from now on every operation (-, +, /, *, %, &, |, ^, ~) must be preceded by perform, like perform x+1 or perform x&2

I also started to do the interpreter in rust:
-token.rs (defines every function as a word)
-ast.rs (makes structures with tokens)

Problems in interpreter till now:
-you can write just perform x+1 and not perform 1+1 , cus if you write perform 1+1 it has to return somewhere and perform x+1 just increments x with 1, but this eliminates the posibility to declare x with an operation (I mean the value), like set x perform 1+1
What do you think should I keep perform????? Anyway see you in next devlog!!

0
76

Comments 0

No comments yet. Be the first!