You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The S-Expression parser works fine for simple S-Expressions,
but one can't parse quoted expressions ('hello) or quasi-quoted expressions using it,
also vectors (#(hello)) are not supported.
I understand, that they aren't part of the real bare bone S-Expression thing,
but they are supported by a big majority of LISPs out there.
Implementing them directly would break compatibility, but they could be implemented using a special flag.
The gem supports different readers with differences in supported syntax. You may want to consider a new reader to support your needs, unless you feel that the "scheme" reader, say, should,do this natively. Pull requests welcome.
I will look into the source code an probably formulate the pull request if I find it.
It's just, that this is part of lisp, just like strings and numbers are.
This is fully supported now, although not using the default Basic reader, but with the Common Lisp reader. This makes use of the Ruby standard Vector class and round-trips.
The S-Expression parser works fine for simple S-Expressions,
but one can't parse quoted expressions (
'hello
) or quasi-quoted expressions using it,also vectors (
#(hello)
) are not supported.I understand, that they aren't part of the real bare bone S-Expression thing,
but they are supported by a big majority of LISPs out there.
Implementing them directly would break compatibility, but they could be implemented using a special flag.
The text was updated successfully, but these errors were encountered: