CircleShift / tnsl-lang

Tools and specifications for the TNSL programming language
Mozilla Public License 2.0
2 stars 0 forks source link

Clean up syntax, have people program with the language to test usability #1

Open CircleShift opened 1 year ago

CircleShift commented 1 year ago

As title says, I need people to test the language to see what works and what does not. Here are some thoughts for the moment:

  1. The line beginnings ; are pretty clunky and I'm thinking of changing to a newline separated model
  2. I am not a huge fan of whitespace code blocks, so no python-like syntax in that regard
  3. Pointers are a bit clunky (~ and `), so I'm thinking of auto de-referencing them in the case of the "get" augment .
  4. Point three should be just fine so long as we keep the "address of" augment prefix and "de-reference" augment postfix
CircleShift commented 1 year ago

I like how other programming languages use | as a union operator on types. Feels natural, so that's a good thought.