Implement READ-TABLE (and READ)

Description

Section 17.1.3.1 of The MDL Programming Language describes the READ-TABLE (and similar PARSE-TABLE) feature, which a program could use to modify the parser at a low level, e.g. to add new punctuation.

MIM supported something similar but used a different table format. It was used by backquote.mud, among others.

If ZILF supported this, we could implement quasiquote syntax with a self-contained MDL package. We'd also have to implement <READ> so the handler could read the next object from the input stream and wrap it.

Activity

Show:
Jesse McGrew
January 17, 2021, 8:44 AM

Jesse McGrew mentioned this issue in a commit of zilf / zilf:

Added limited support for reader macro extensions.

Assignee

Unassigned

Reporter

Jesse McGrew

Components