mattn / anko

Scriptable interpreter written in golang

Home Page:http://play-anko.appspot.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subtraction syntax errors

floren opened this issue · comments

Using the anko interpreter, this works:

> 2+1
3

But this doesn't:

> 2-1
1:2 syntax error: unexpected NUMBER

This is ok:

> 2 -1
1:3 syntax error: unexpected NUMBER

but not this:

> 2- 1 
1

Thanks for the report. Will work on fixing this soon.

Should be fixed in: #302

@floren Good to close?

@floren Wonderful. Could you please close it?