File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ [ ![ GoDoc] ( https://img.shields.io/static/v1?label=godoc&message=reference&color=blue )] ( https://pkg.go.dev/github.com/skx/bfcc )
1
2
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/skx/bfcc )] ( https://goreportcard.com/report/github.com/skx/bfcc )
2
3
[ ![ license] ( https://img.shields.io/github/license/skx/bfcc.svg )] ( https://github.com/skx/bfcc/blob/master/LICENSE )
3
4
[ ![ Release] ( https://img.shields.io/github/release/skx/bfcc.svg )] ( https://github.com/skx/bfcc/releases/latest )
Original file line number Diff line number Diff line change
1
+ // bfcc is a trivial compiler for converting BrainFuck programs into
2
+ // executables.
1
3
//
2
- // Trivial "compiler" for BrainFuck
4
+ // The bfcc compiler contains a pair of backends which can be used to generate
5
+ // executables.
3
6
//
7
+ // There is a backend named `asm` which converts the input program into an
8
+ // assembly-language file, and then compiles it via `gcc`.
9
+ //
10
+ // Then there is a second backend named `c` which converts the input-program
11
+ // into a C source-file, and then also compiles it via `gcc`.
12
+ //
13
+ // The end result of either approach should be a working, native, executable
14
+ // which can be executed to run the brainfuck program.
4
15
package main
5
16
6
17
import (
You can’t perform that action at this time.
0 commit comments