brainhug 0.7.0

A simple brainf*ck translator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package main

import (
	"bufio"
	"fmt"
	"os"
)

func getchar(reader *bufio.Reader) uint8 {
	input, _ := reader.ReadString('\n')
	return uint8(input[0])
}

func main() {
	buff := make([]uint8, 20000)
	ptr := buff
	reader := bufio.NewReader(os.Stdin)
	ndx := 0