Write a parser for Newspeak in Go
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

NB! I am talking about the English-like language from the book 1984 NOT the programming language!

Parser must be written in Go and all code should be licensed under and open source license like Apache 2.

Should parse Newspeak with all the rules as defined on Wikipedia: https://en.wikipedia.org/wiki/Newspeak as at version "27 April 2020, at 17:00 (UTC)." (which was current version when I wrote this)

If you don't know how to write Go, I will teach you reach out to me (I teach programming, Go is a very easy language to learn).

The most complete parser will win at the end of 7 days.

By the way, by Parser I just mean a program that accepts on STDIN a string and exits with code 0 if it is valid Newspeak or code 1 if it is invalid.
ramonza 1 month ago
Actually if it is invalid, doesn't matter what the exit code is as long as it is non-zero. For example, it could be the number of errors.
ramonza 1 month ago
As a bonus: make the list of acceptable words parameterizable but you should default to the newspeak words.
ramonza 1 month ago
Hi @ramonza. What exactly do you mean by parameterizable? Thank you.
VladimirMikulic 1 month ago
Can we get some examples as to what's valid vs. not?
B44ken 1 month ago
I think a good start would be this:https://github.com/wooorm/parse-english But then limit it to the vocabulary of newspeak (you can find examples on the wikipedia page). By parameterize I mean just that it should be possible to have a text file with all the valid word parts. But it's fine if not.
ramonza 1 month ago
Actually that project doesn't look very good. Here is a better one: https://github.com/benjaminoakes/raiden
ramonza 1 month ago
Here is another one: https://github.com/onlyuser/parse-english
ramonza 1 month ago

Crowdsource coding tasks.

0 Solutions