• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

In case you missed it...

 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I finally got this code to work!
 
Gabriel Claramunt
Ranch Hand
Posts: 375
Monad Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!

... I miss the urgent questions forum... it was the best!
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw this and I wondered how fancy you were in implementing the generator. It looks like just random tokens, though. Hidden Markov chains of even length 2 would produce something that looked a lot more code-like. I wonder how long the chains would need to be before you usually get something that compiles?

Anybody ever played with this? HMC of English, I've played with. Code, not so much.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ernest Friedman-Hill:
I saw this and I wondered how fancy you were in implementing the generator. It looks like just random tokens, though...

Generator? I spent weeks writing this by hand in Notepad!

I nested some 50/50 "if" statements to vary the mix of keywords, new lines, numbers, tabs, etc. But it's very haphazard.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic