Made up grammar rules

From Esolang
Jump to navigation Jump to search

Made up grammar rules is an esolang based off the absurd (made up grammar rules).

Commands

a sentence ends with "" - print ""
no sentence should start with "" - push "" 
complete sentences have n words - push n to the stack
the adjective never goes after a noun - pop and discard
these grammar tips are good - pop and print
a word should not have more than n letters - rotate first n of stack clockwise
a sentence should have less than n letters - rotate first n of stack counterclockwise
stay clear of these mistakes - clears stack
never operation words together - does the operation to top two of stack first first second second (a stack 5 6 4 would be -1 4 from subtraction)
no more of this, ok? - pushes user input
please, dont do this: - goes to "ok?!" if 0
ok?! - goes to "please, dont do this:" if not 0
and never repeat yourself - duplicates top of stack
please, no - prints "please, no"

Hello World

a sentence ends with "Hello world"

Cat

complete sentences should have 1 words
please, dont do this:
these grammar tips are good
no more of this, ok?
ok?!

Quine

please, no