Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

3DSBFI 3DS: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 8: Line 8:
|version=1.1
|version=1.1
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/3dshomebrews/3dsbfi.7z
|download=https://dlhb.gamebrew.org/3dshomebrews/3dsbfi_v1.1.zip
|website=https://gbatemp.net/threads/release-3dbfi-a-3ds-brainf-ck-interpreter.392430
|website=https://gbatemp.net/threads/release-3dbfi-a-3ds-brainf-ck-interpreter.392430
|source=https://github.com/TheJosamilu/3DSBFI
|source=https://github.com/TheJosamilu/3DSBFI
Line 22: Line 22:


==User guide==
==User guide==
===How to use===
===How it works===
Write your Brainf*ck programm on your 3DS and run the srcipts. It has a total of 8 operators (and an extra operator):
Write your Brainf*ck programm on your 3DS and run the srcipts. It has a total of 8 operators (and an extra operator <code>;</code>):
* <code>+</code> Which increases the number of the current cell.
* <code>+</code> increases the number of the current cell.
* <code>-</code> Which decreases the number of the current cell.
* <code>-</code> decreases the number of the current cell.
* <code>></code> Which sets the pointer to the next cell right.
* <code>></code> sets the pointer to the next cell right.
* <code><</code> Which sets the pointer to the next cell left.
* <code><</code> sets the pointer to the next cell left.
* <code>.</code> Which outputs a char (f.ex. 65 = A).
* <code>.</code> outputs a char (f.ex. 65 = A).
* <code>,</code> Which reads a char.
* <code>,</code> reads a char.
* <code>[</code> Which opens a loop.
* <code>[</code> opens a loop.
* <code>]</code> Which closes a loop..
* <code>]</code> closes a loop.
* <code>;</code> Which outputs the value of the current cell as decimal.
* <code>;</code> outputs the value of the current cell as decimal.
 
In the current version of 3DSBFI the operator <code>,</code> is not yet implemented.  


===Example Scripts===
===Example Scripts===
A Script that outputs Hello World!:
A Script that outputs Hello World!
  ++++++++[->++++++++<]>++++++++.---.+++++++..+++.>>++++[-<++++++++>]<.<++++++++.--------.+++.------.--------.>+.
  ++++++++[->++++++++<]>++++++++.---.+++++++..+++.>>++++[-<++++++++>]<.<++++++++.--------.+++.------.--------.>+.


 
A Script which multiplies 4 with 2 and prints the result.
A Script which multiplies 4 with 2 and prints the result:
  ++++[->++<]>;
  ++++[->++<]>;


==Controls==
==Controls==
Line 52: Line 52:
Y - <
Y - <


D-Pad Up - ;
Up - ;


D-Pad Right - ]
Down - .


D-Pad Down - .
Left - [


D-Left - [
Right - ]


L - Delete Last Character
L - Delete Last Character
Line 69: Line 69:
https://dlhb.gamebrew.org/3dshomebrews/3dsbfi2.png
https://dlhb.gamebrew.org/3dshomebrews/3dsbfi2.png
https://dlhb.gamebrew.org/3dshomebrews/3dsbfi3.png
https://dlhb.gamebrew.org/3dshomebrews/3dsbfi3.png
==Known issues==
In the current version of 3DSBFI the operator <code>,</code> is not yet implemented.


==Changelog==
==Changelog==
Line 91: Line 88:
* GitHub - https://github.com/TheJosamilu/3DSBFI
* GitHub - https://github.com/TheJosamilu/3DSBFI
* GBAtemp - https://gbatemp.net/threads/release-3dbfi-a-3ds-brainf-ck-interpreter.392430
* GBAtemp - https://gbatemp.net/threads/release-3dbfi-a-3ds-brainf-ck-interpreter.392430
[[Category:3DS homebrew applications]]
[[Category:Other 3DS homebrew applications]]

Latest revision as of 10:25, 22 Haziran 2024

3DSBFI
3dsbfi2.png
General
Authorjosamilu
TypeOther Apps
Version1.1
LicenseMixed
Last Updated2015/07/10
Links
Download
Website
Source

3DSBFI is a simple and minimalistic, WIP but mostly finished Brainf*ck Interpreter for 3DS. Brainf*ck is an esoteric programming language, with extreme minimalism.

It includes a menu with a special Brainf*ck editor, output and Tutorial.

Installation

Available in 3DSX/SMDH, CIA and 3DS formats.

The .3dsx build is recommended (author noted that .cia or .3ds builds are not tested but they should work).

User guide

How it works

Write your Brainf*ck programm on your 3DS and run the srcipts. It has a total of 8 operators (and an extra operator ;):

  • + increases the number of the current cell.
  • - decreases the number of the current cell.
  • > sets the pointer to the next cell right.
  • < sets the pointer to the next cell left.
  • . outputs a char (f.ex. 65 = A).
  • , reads a char.
  • [ opens a loop.
  • ] closes a loop.
  • ; outputs the value of the current cell as decimal.

In the current version of 3DSBFI the operator , is not yet implemented.

Example Scripts

A Script that outputs Hello World!

++++++++[->++++++++<]>++++++++.---.+++++++..+++.>>++++[-<++++++++>]<.<++++++++.--------.+++.------.--------.>+.

A Script which multiplies 4 with 2 and prints the result.

++++[->++<]>;

Controls

A - +

B - -

X - >

Y - <

Up - ;

Down - .

Left - [

Right - ]

L - Delete Last Character

R - Run Code

Start - Exit Program

Screenshots

3dsbfi2.png 3dsbfi3.png

Changelog

V1.1

  • Added a menu, with 6 options.
  • Added a fullscreen editing and running mode.
  • Fixed the programm's name and added an icon.
  • Bugfixes.

V1.0

  • Initial Release.

Credits

3DSBFI written by josamilu.

Everyone who works on ctrulib.

External links

Advertising: