|
You are here |
niklaskorz.de | ||
| | | | |
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. | |
| | | | |
copy.sh
|
|
| | | | | A Brainfuck editor & optimizing interpreter, written in JavaScript. It's pretty fast. | |
| | | | |
jessitron.com
|
|
| | | | | TL;DR - use def all the time, and things just work.Remember that old adage from Java, "Never call a nonfinal method in your constructor"?Yeah, that still applies in Scala, and it keeps biting me. It's easier to get wrong in Scala.Here's a refresher:When a class is instantiated, the superclass is initialized first. Its fields are... | |
| | | | |
blog.bencope.land
|
|
| | | This post is for Day 6 of F# Advent Calendar. We all know the go-to languages for most companies in application software development: Java, C#, TypeScript, and Python, to name a few. There's obviously nothing wrong with using these ubiquitous languages, but there's a tendency to overlook the potential of | ||