before I make the jump to submit my first packages on hackage?
The idea is that a syntax extension implements
type Lexer a = Y.YiString -> Tokens a
type Styler a = TokenRange a -> BufAction (Span CrdRange Style)
type Mapper = [Extension]
data Syntax a = Syntax String Mapper (Lexer a) (Styler a)
And building on #65 here's a demo of the syntax modules (for now pinned to github commits). It would be great if you could take a look at
before I make the jump to submit my first packages on hackage?
The idea is that a syntax extension implements
for instance:
Which then allows to add extensions like so: