daeisbae / AParser

Yet another programming language for educational purpose and simplicity
https://daeisbae.github.io/AParser/
MIT License
1 stars 0 forks source link

[#96] Implement String Expression, Value in AST, Parser, Runtime class #97

Closed daeisbae closed 3 months ago

daeisbae commented 3 months ago

Changes

Previous

./AParser
>>> set a = "Hello world"
libc++abi: terminating due to uncaught exception of type UnexpectedTokenParsedException: Unexpected Token: 'Token( TokenType: String Value: 'Hello world' )' is not allowed
[1]    84050 abort      ./AParser

Demo

./AParser
>>> set a = "Hello avika"
Hello avika
>>> a
Hello avika