ckknight/gorillascript

Positive/negative lookahead in macros with custom syntax

Closed this issue · 0 comments

There should be a way to specify a lookahead within a macro with custom syntax, e.g.

Will likely go with the regex-like syntax of ?= and ?!

macro blah
  syntax ?="\n", body as Body
    etc()

In the previous case, the "\n" would be required, but would not consume any characters.