Open ghost opened 3 years ago
I imagine one only needs to add input%256
where input is taken in Main.elm
but I still can't figure out how to run the site locally (see issue #3) so I don't want to PR without checking that it works!
If anyone figures out how to run it locally though, I'll definitely give this a shot : )
I imagine one only needs to add
input%256
where input is taken inMain.elm
but I still can't figure out how to run the site locally (see issue #3) so I don't want to PR without checking that it works!If anyone figures out how to run it locally though, I'll definitely give this a shot : )
@AviFS you're correct, that should fix the issue.
Regarding building and running the app, I was able to get it running locally by downloading the Elm 0.18.0 (since npm only seems to let you download 0.19.0 these days and that version is not compatible with this app) binary from https://github.com/elm/compiler/releases/tag/0.18.0. Once Elm was installed I ran make
and the app compiled successfully:
~/code/brainfuck $ make
elm package install
Some new packages are needed. Here is the upgrade plan.
Install:
elm-community/list-extra 6.1.0
elm-lang/core 5.1.1
elm-lang/html 2.0.0
elm-lang/virtual-dom 2.0.4
Do you approve of this plan? [Y/n] y
Starting downloads...
● elm-community/list-extra 6.1.0
● elm-lang/html 2.0.0
● elm-lang/core 5.1.1
● elm-lang/virtual-dom 2.0.4
Packages configured successfully!
elm make src/Main.elm --output=build/main.js
Success! Compiled 40 modules.
Successfully generated build/main.js
Can you try building with the same Elm binary? If it's still not working then let me know.
inputting a bad character (tested with a zero-width-space) set the cell to ~9000