node

node

PARTCL - A TINY COMMAND LANGUAGE

From the post:

Inspired by these projects, I decided to build my own Tcl interpreter over the weekend. My goals were:

  • Extreme minimalism. It should fit on an MCU with 16K of NAND.
  • It should be easy to extend by writing your own commands in C.
  • All parts should be isolated and should be easy to replace/customize.
  • Default implementation should prefer size over performance.
  • Lexer should tell when the end of the command is met so that we could read user input byte by byte and execute command only when it’s fully read.
  • All parts of the interpreter should be covered with tests.
replies
0
announces
0
likes
0