Live data from Hacker News

The Groot Programming Language

github.com

31–40 of 42 posts

Re: The Groot Programming Language

#31
post #8

I've never really understood why Groot stopped being able to say more than his name - he could talk just fine until 2008 or so: http://13thdimension.com/wp-content/uploads/2014/07/acstarlo... (On the other hand, the fully-talking character was a bit of a jerk, so perhaps it's better this way.)

It's a size thing. When he's big, his vocal cords are too stiff to really sound like anything other than 'I am Groot'.

But, to be fair, the earlier version is based on Groot being a monster, a villain. They re-imaged a lot of the Guardians of the Galaxy to have a more proper spaced based origin.

Re: The Groot Programming Language

#33

I propose a law of esoteric langauges: If there exists, in popular culture, a character with a comically limited vocabulary (e.g. Groot, The Librarian in Discworld) then there shall be a Brainfuck variant based on its vocabulary. (In our example, Grootlang and Ook)

That gives us one language for every Pokemon (i.e pika pika, pik pikachu, pikachuuu, pikachu!)

Arguably you're only counting the lower bounds. There are many Pokémon that have at least two different languages (based on English and Japanese names).

Re: The Groot Programming Language

#34

I propose a law of esoteric langauges: If there exists, in popular culture, a character with a comically limited vocabulary (e.g. Groot, The Librarian in Discworld) then there shall be a Brainfuck variant based on its vocabulary. (In our example, Grootlang and Ook)

That's easy.

Now, automating that by putting enough NLP together to scan social media and news sites to classify popular characters with a comically limited vocabulary and automatically generate a Brainfuck variant based upon said character's vocabulary? That's the hard part... ;)

Re: The Groot Programming Language

#35
post #26

Earlier quoted context omitted.

Is it on topic?

Somebody wrote a new language/turing machine based off of pop culture, I'd say that's pretty on-top for HackerNews.

So, by your point of view, I should be able to submit the "Moo!" or "Ook!" esoteric languages which are exactly like this one?

I find Groot to be entirely uninteresting. Look up Homespring or Flip :)

Re: The Groot Programming Language

#36
post #25
post #7

Even though I got a laugh out of it, I propose we change the definition of esoteric programming languages to require more creativity from their designer than reimplementing brainfuck with different tokens for the operators.

Is not based in brainfuck, its a turing machine, and both look that way because any less instructions are not enough for programming a digital computer.

The type of abstract syntax trees of this language and brainfuck are isomorphic. There are lots of definitions of what a "Turing Machine" is. If we take the one on Wikipedia as canon it isn't the same as this.

In particular, a Turing Machine is a model while both Brainfuck and Groot are languages. It's easy to see how each of these languages is directly translated into a Turing Machine model (providing them a choice of semantics). Indeed, due to their isomorphism we need only translate one of them to have a faithful translation of the other "for free".

Better yet, Brainfuck and Groot both have a privileged semantic model which is more or less identically a Turing Machine (except Brainfuck merely specifies that the tape is at least 30,000 bytes long and Groot mentions site not at all while Turing Machines are explicitly infinite).

So, they're really closely related to a Turing Machine but honestly separate things more closely related to one another (via isomorphism) than to TMs directly (via semantic mapping).

Re: The Groot Programming Language

#37
Had a look at the code because I also happen to be playing around with Rust. The author seems to be struggling with strings and borrowing/lifetimes like the rest of us. Between splitting to words and tokenizing, there are probably 3 copies of the input string in memory.

Re: The Groot Programming Language

#38
post #25
post #7

Even though I got a laugh out of it, I propose we change the definition of esoteric programming languages to require more creativity from their designer than reimplementing brainfuck with different tokens for the operators.

Is not based in brainfuck, its a turing machine, and both look that way because any less instructions are not enough for programming a digital computer.

You only need one instruction for a computer: http://en.wikipedia.org/wiki/One_instruction_set_computer

Re: The Groot Programming Language

#39

I'm not sure why this is on hn. The creation of a programming language using a stupid syntax has been done, and has been done better. This adds nothing to the space, and it's the useless language equivalent of hello world. Good for you, you made your first hello world that is completely useless. But my hello world doesn't end up on hn, and nor should this.

You're probably not, but you sound as if you're just jealous... You could phrase your comment better.

On topic: I too don't think "another brainfuck interpreter" is very interesting, but I enjoyed sort-of-a-compiler for brainfuck implemented here: https://www.hashcollision.org/brainfudge/ by Danny Yoo. You can get something out of even the most useless of examples sometimes :)

Re: The Groot Programming Language

#40
post #35
post #26

Earlier quoted context omitted.

Somebody wrote a new language/turing machine based off of pop culture, I'd say that's pretty on-top for HackerNews.

So, by your point of view, I should be able to submit the "Moo!" or "Ook!" esoteric languages which are exactly like this one? I find Groot to be entirely uninteresting. Look up Homespring or Flip :)

> So, by your point of view, I should be able to submit the "Moo!" or "Ook!" esoteric languages which are exactly like this one?

Yes, and they'd be on-topic. Though Zombie [0], from the same creator as Ook!, is probably more interesting.

[0] http://www.dangermouse.net/esoteric/zombie.html

Post reply on HN