/explore
|
You are here |
korz.dev | ||
| | | | |
niklaskorz.de
Dies ist ein kleiner Interpreter für BF, den ich vor einem Monat geschrieben habe. Nichts neuartiges, aber ich dachte mir, ich teile es trotzdem. Ein kleines Nutzungsbeispiel: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 package de.niklaskorz.brainfuck class Interpreter { var offset = 0 var data = new Array[Char](30000) var loopStart = new scala.collection.mutable.Stack[Int] def eval(source: String) { var i = 0 while (i < source. |
|
| | | | | ||
| | | | |
scalatutorials.com
[AI summary] The post demonstrates how Scala simplifies coding with automatic getters/setters and dynamic methods, comparing its features to Ruby. |
|
| | | | | ||
| | | | |
esoteric.sange.fi
|
|
| | | | | ||
| | | | |
bloeys.com
In 'Thought 2: Regex is Like Assembly' I wondered why we are still doing regex in this kind of hard to understand, symbolic way, when we have already invented high level programming languages. There is no reason regex can't be written as clearly as any other programming language we use today. I thought doing this would be an interesting project, and so I came up with Regexl, a high level language for writing regex, that can be used as a simple library. |
|
| | | |||