StackLanguge / stack-language

The official impilmentation of the Stack programming language created by BookOwl
4 stars 1 forks source link

String Parsing Error #15

Closed BookOwl closed 8 years ago

BookOwl commented 8 years ago

The latest version of Stack can not parse strings. The program "F" print gives the error "F" is not defined as a variable or word!

BookOwl commented 8 years ago

During debugging, I have found that the problem is in stack_parser.py It is parsing strings as vars.

BookOwl commented 8 years ago

The problem is in is_str() in constants.py It is returning False when it should be returning True

BookOwl commented 8 years ago

It turns out that I was using the wrong quotes. Oops...

jeandrek commented 8 years ago

Oh yeah you were using special matching quotes, right?