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

Use RChain's BNF? #2

Open
JoshOrndorff opened this issue Jan 31, 2019 · 1 comment
Open

Use RChain's BNF? #2

JoshOrndorff opened this issue Jan 31, 2019 · 1 comment

Comments

@JoshOrndorff
Copy link
Owner

According to @crypto-coder

there may be parts of rnode that you can borrow heavily from

when I was attempting to build rnode from source code, I had to install Haskell and then build BNFC using Haskell....then you need to generate the Rho parser using BNFC (build steps are executed with Scala)

https://github.com/BlockSpaces/coin-faucet/blob/c8175e38590099e5b39d7d182f840bb3e6dbbdd7/raspi-rchain/openSUSE/step3_BUILD-RCHAIN.sh#L21

https://bnfc.digitalgrammars.com/

@JoshOrndorff
Copy link
Owner Author

JoshOrndorff commented Jan 31, 2019

@crypto-coder

That's great to know. I would benefit a lot from having a grammar already basically written. It seems I already have bnfc installed (I believe I got it from apt at some point). Do you know where I could look for what sbt rholang/bnfc:generate (this line) does?

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

No branches or pull requests

1 participant