Skip to content

parsonsmatt/smoltok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d9bf860 · Mar 21, 2018

History

27 Commits
Mar 21, 2018
Aug 20, 2017
Aug 19, 2017
Aug 20, 2017
Aug 22, 2017

Repository files navigation

smoltok

An implementation of Smalltalk 80 in Rust based on the freely available blue book.

Parser

The parser is implemented using combine. I'm coming from Haskell, so the Parsec inspiration was familiar and welcome.

The parser was initially implemented by reading the first chapter on syntax and following along. That proved to be a bit treachorous, with quite a few subtle implementation bugs. Fortunately, the back of the book provided a railway syntax chart, which made it quite easy to write the parser for.

About

An implementation of Smalltalk 80 in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages