squirrel
squirrel copied to clipboard
Any reason for not having "&= |= <<= >>= >>>=" ?
Hello ! Looking at the lexer I can see that there is tokens for BIT_AND_EQ, ... but they are commented out and no code on the compiler to deal with then. Any reason for that ? Cheers !
they didn't seem necessary.
I mainly noticed it when trying to run this through squilu/squirrel: https://github.com/Spark-Innovations/SC4/blob/master/sc4-web/nacl.js
Huh. I think this will be a surprise to anyone who uses squirrel eventually, since a large part of it's value is in adding C-like syntax where it's easy and doesn't conflict. Adding enough C-like syntax to satisfy @mingodad is probably not easy, but this one thing is easy. (But I don't see anything commented out and half-finished).
I had forgotten all about this thread, and it was a surprise to me today. Now this really annoys me. I will forge ahead but if this hits me many more times, I will have to try implementing it.