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

Run in haskell backend #164

Merged
merged 4 commits into from Nov 30, 2018
Merged

Run in haskell backend #164

merged 4 commits into from Nov 30, 2018

Conversation

dfilaretti
Copy link
Contributor

Adding a simple script, similar to vmtest, that runs a IELE program on the Haskell backend.
It's not fully functional/finished.

vmtest-haskell Outdated

PGM=$1

$KRUN_BINARY --directory "$KOMPILED_DEF" -cSCHEDULE="$cSCHEDULE" -pSCHEDULE='printf %s' -cMODE="$cMODE" -pMODE='printf %s' "$PGM" --haskell-backend-command "$HASKELL_BACKEND_CMD"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setting the parser to printf %s means that you are expected to pass kast to the -c flag, but you're not here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood. I saw that used in KEVM, wasn't sure what it was for but for some reason I thought it was needed. Removed now!

By the way, I used to get the same error regardless of what test I was trying to run, but now it is gone, so it was probably caused by those bad command line settings.

@dfilaretti
Copy link
Contributor Author

@dwightguth can I merge this or are there other changes that I need?

@dwightguth dwightguth merged commit b460a7c into master Nov 30, 2018
@dwightguth dwightguth deleted the run-in-haskell-backend branch November 30, 2018 16:09
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.

None yet

2 participants