Skip to content

Support punctuation, and some input changes#1

Open
hornc wants to merge 5 commits intotadeboro:masterfrom
hornc:master
Open

Support punctuation, and some input changes#1
hornc wants to merge 5 commits intotadeboro:masterfrom
hornc:master

Conversation

@hornc
Copy link
Copy Markdown

@hornc hornc commented Mar 12, 2019

Hi @tadeboro, thanks very much for this interpreter, it saved me a whole lot of time while figuring out how Eodermdrome is supposed to work!

I have added support for punctuation as stated in the spec https://esolangs.org/wiki/Eodermdrome:

any strings of whitespace that contain punctuation marks other than commas and parentheses are ignored along with the punctuation marks they contain (so abc. def is equivalent to abcdef)

and added a Hello World example that uses punctuation.

This PR also makes some changes to the way input is read, which hopefully make things better.

I'll probably be doing more coding in Eodermdrome, and using this interpreter to do so, so may have more contributions to make. Thanks!

hornc added 5 commits January 28, 2019 19:39
additionally, it reads one line so the data can be entered after running
the command and sent by hitting enter.
If there is need for multiple lines, `stdin.read()` should be used
instead.
newlines now can be entered as input, Ctrl-D for EOF
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.

1 participant