Skip to content

Commit

Permalink
Badges added.
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmorgan committed Apr 21, 2024
1 parent 66b4443 commit 8eeb769
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## B.F.G.

[![Go](https://github.com/tristanmorgan/bfg/actions/workflows/go-test-build.yml/badge.svg)](https://github.com/tristanmorgan/bfg/actions/workflows/go-test-build.yml)
* [![license MIT](https://img.shields.io/badge/license-MIT-brightgreen.svg)](https://opensource.org/licenses/MIT)
* [![GoReportCard](https://goreportcard.com/badge/github.com/tristanmorgan/bfg)](https://goreportcard.com/report/github.com/tristanmorgan/bfg)
* [![Go](https://github.com/tristanmorgan/bfg/actions/workflows/go-test-build.yml/badge.svg)](https://github.com/tristanmorgan/bfg/actions/workflows/go-test-build.yml)

BFG is an optimised [Brainfuck](https://esolangs.org/wiki/Brainfuck) interpreter written in Go.

Expand Down
16 changes: 16 additions & 0 deletions sample/ascii.bf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bf
8x12=96
++++++++
[>++++++++++++<-]
start at 32
++++++++++
++++++++++
++++++++++
++
count down 96 and print up from space
>[-<.+>]
new line
++++++++++.
15 changes: 15 additions & 0 deletions sample/rev.bf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bf
[reverse lines of text written by Tristan Morgan]
,+
[
-----------
[
>,----------
]
<
[
++++++++++.<
]
++++++++++.
,+
]

0 comments on commit 8eeb769

Please sign in to comment.