haxe-repl icon indicating copy to clipboard operation
haxe-repl copied to clipboard

Operators?

Open Gama11 opened this issue 6 years ago • 1 comments

Here's some rather simple examples that don't output anything:

> haxe-repl
REPL Haxe
> 1 + 2
> 1+2
> 1-2
> 1*2
> 1++
Repl: characters 1-2 : Invalid assign
>

Using the latest NPM release (0.4.1).

Gama11 avatar May 11 '18 20:05 Gama11

Thanks for giving it a go!

1++ is invalid, but the others are tricky because the compiler optimises too aggressively... I'll try to figure something.

elsassph avatar May 11 '18 21:05 elsassph