News for hackers. Stuff that matters.
Re:Bosque Programming Language by shakna on Thursday May 14, 2020 @03:17AM (#23176421)
Refusing to allow symbols in identifiers might make some things easier to read, but is annoying as hell if you're touching anything scientific.

If you have something clear you break tokens on, like whitespace (except within quotes), then you should have no problems allowing arbitrary symbols inside an identifier.

Re:Bosque Programming Language by TomMarius on Thursday May 14, 2020 @09:24AM (#23179185)

    x = 0
    y = 1
    x+y = 0
    z = x+y
What is z?
Re:Bosque Programming Language by traes on Thursday May 14, 2020 @11:31AM (#23180738)
x+y = 0 (with that specific syntax) will error in pretty much every language.
Re:Bosque Programming Language by TomMarius on Friday May 15, 2020 @04:44AM (#23190151)
So we will refuse to allow symbols in identifiers after all?
Re:Bosque Programming Language by traes on Friday May 15, 2020 @06:48PM (#23198433)
The only programming languages where arithmetic symbols are allowed identifiers have an identifier sigil (ala Perl, PHP), require whitespace around arithmetic (some teaching languages), or don't have conventional arithmetic syntax (e.g. Forth, Lisp).
Re:Bosque Programming Language by TomMarius on Saturday May 16, 2020 @04:31AM (#23201542)
Please read the comment I originally answered to.