Updates on the Weir Language
elijahpotter.dev·2d·
Discuss: Hacker News
Incremental Parsing
Preview
Report Post

In my last blog post, I described the why, what, and how of the Weir programming language. I suggest you read that first.

Before signing off for the day, I just wanted to give a few updates on the project. For those interested in the technical side of things, I’ve opened a draft PR for your reading pleasure.

Updated Keywords

After having a conversation with Jason Adams, I came to the realization that declare and set are pretty sh*tty keywords. They aren’t self-describing and you’d be hard-pressed to find any real programming language that uses them.

I’ve instead replaced them with let and expr.

Here’s what the rule from my last blog post looks like with …

Similar Posts

Loading similar posts...