|
You are here |
scalatutorials.com | ||
| | | | |
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. | |
| | | | |
korz.dev
|
|
| | | | | This is a small interpreter for BF I wrote about a month ago. Nothing new, but I thought I might share it anyway. A small usage example: 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. | |
| | | | |
juandebravo.com
|
|
| | | | | Juan de Bravo - Personal thoughts about technology (@juandebravo) | |
| | | | |
scalatutorials.com
|
|
| | | [AI summary] The post demonstrates how Scala simplifies coding with automatic getters/setters and dynamic methods, comparing its features to Ruby. | ||