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

Add a basic frontend for experimentation #38

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

Plecra
Copy link
Member

@Plecra Plecra commented Apr 15, 2021

Hiya! Cool language you've got here 😄

When I just cloned the repo, my first thought was cargo running the compiler to play around with it a bit. I wound up finding the frontend implementation in aspen and thought it'd be nice to make things easier for future curious peeps

@Plecra
Copy link
Member Author

Plecra commented Apr 15, 2021

Oh and you can take this as a test that everything runs on Windows no problem!

@slightknack
Copy link
Member

Hiya! Cool language you've got here 😄

Thanks!

When I just cloned the repo, my first thought was cargo running the compiler to play around with it a bit. I wound up finding the frontend implementation in aspen and thought it'd be nice to make things easier for future curious peeps

Yeah, this is generally an issue people who are getting started with Passerine run into. Currently, the way I play around with Passerine during development is through the snippets test folder. This, however is less than ideal.

As mentioned in #34, the lex, parse, ... pattern is pretty common when embedding Passerine. I think we should factor a number of helper functions out into lib.rs, then use those for running.

I'm going to merge this PR now; we can most likely simplify it later once the helper functions are implemented. (Oh, and I'll add that it works on Windows to the readme 😉)

Thanks a million!

@slightknack slightknack merged commit b92f46e into vrtbl:master Apr 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants