M: f parse-quotation \ ] parse-until >quotation ;
-: parsed ( accum obj -- accum ) over push ;
-
: (parse-lines) ( lexer -- quot )
[ f parse-until >quotation ] with-lexer ;
lexer-factory get call( lines -- lexer ) (parse-lines) ;
: parse-literal ( accum end quot -- accum )
- [ parse-until ] dip call parsed ; inline
+ [ parse-until ] dip call suffix! ; inline
: parse-definition ( -- quot )
\ ; parse-until >quotation ;
scan swap base> [ bad-number ] unless* ;
: parse-base ( parsed base -- parsed )
- scan-base parsed ;
+ scan-base suffix! ;
SYMBOL: bootstrap-syntax