Skip to content

Translate Spicy into Python #1339

Answered by bbannier
hugolin615 asked this question in Q&A
Dec 21, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Where should I start if I want to develop the spicy compiler to generate a parser for other programming languages, like python?

Could you explain in more detail how this use case would look like?

I find some lex and yacc codes in spicy/toolchain/src/compiler/. Is that possible to change these codes and use gcc to create independent executables to achieve this functionality?

These source files are tokenizers and parsers for Spicy source code which describe parsers written by a user.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@hugolin615
Comment options

@bbannier
Comment options

Answer selected by bbannier
Comment options

You must be logged in to vote
1 reply
@bbannier
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants