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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help