moderninterpreters / markup

MARKUP provides a reader-macro to read HTML tags inside of Common Lisp code
Apache License 2.0
70 stars 8 forks source link

#'< and #'> #1

Closed phoe closed 4 years ago

phoe commented 4 years ago

How does this library solve the problem of (< 2 3) or (> 2 3) that is valid Lisp code?

tdrhq commented 4 years ago

Yep, handled. It's a subset of HTML, so we require '<' to not be followed by whitespace.

https://github.com/moderninterpreters/markup/blob/master/test-markup.lisp#L187

(the reader is enabled on that file.)

phoe commented 4 years ago

OK - nice one!