Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s-expression syntax? #54

Open
waywardmonkeys opened this issue Oct 31, 2015 · 5 comments
Open

s-expression syntax? #54

waywardmonkeys opened this issue Oct 31, 2015 · 5 comments

Comments

@waywardmonkeys
Copy link
Member

This comes up in many (many) Dylan discussions.

Should we have an s-expression syntax?

@waywardmonkeys
Copy link
Member Author

I've been discussing this with @lojikil ... I'm open to someone (him?) doing a prototype in this direction.

An open question remains "What exactly should the s-expressions look like?" ... I'm fairly open on this. I think they should try to look like the original s-expression syntax from the early Apple Dylan days where possible, but I recognize that this isn't fully possible due to things like adjectives (define-method vs define sealed method).

I have some old notes on various syntax options here:

https://github.com/waywardmonkeys/prefixy-dylan-notes/blob/master/source/index.rst

@waywardmonkeys
Copy link
Member Author

If this were to happen, it wouldn't replace the existing syntax but be a separate surface syntax.

@lojikil
Copy link

lojikil commented Nov 3, 2015

Should we integrate what Marlais or some other S-Expression based Dylan does, and then decide what else we might want this to look like? Would be nice to have some existing body of code to use...

@lojikil
Copy link

lojikil commented Nov 3, 2015

And I'm definitely open to converting yous to using proper, S-Expression syntaxed Dylan, like God intended...

/me runs away

@waywardmonkeys
Copy link
Member Author

There's no code to be salvaged from Marlais. (The licensing is one big reason, but Marlais was also pretty incomplete and the s-expression code was removed and I don't know where the reader was.)

@wvdschel is poking at writing an s-expression reader in C. I know you have several. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants