Comment

Comment by IFranckyI

The number of "Smalltalk-like" keywords is limited and this is not a syntax : they are executed like any other words.

imo you're overestimating the "smalltalk-like" part, as it is mainly word naming conventions (a ':' at the end of some words to show that something is required after) and not syntax. The "something" required after is read from the input stream as a part of the word's execution (like many Forth words).

There is no "real parser" : the parser is like any Forth parser ie one word at a time separated by blanks.

In fact, it is an Forth-like interpreter with immediate words and parsing words that use the stack structure a lot.

parent IFranckyI 8 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton