neugram / ng

scripting language integrated with Go
https://neugram.io
BSD 2-Clause "Simplified" License
916 stars 43 forks source link

parser: support for binary '&' #203

Closed sbinet closed 6 years ago

sbinet commented 6 years ago

the following fails in ng:

ng> a := 0x0101
ng> b := 0x1001
ng> a&b
int(257)
int(4097)
neugram: parser: expected ";", found "&" (off 26)