Site improvement BF Help Page

Back to General discussions forum

Matthew Cole     2015-02-02 12:39:38

Admin,

Is it possible to add the code execution tools to the bottom of the Brainfuck Help page so that it could be used as a sandbox?

Unlike most other languages, because CodeAbbey uses a different implementation of the Brainfuck language specification, there's no where to try out your code except for within a problem that uses the Brainfuck language.

Thanks!

nicolas_patrois     2015-02-02 12:58:25
User avatar

BF interpreters can be found everywhere on the internet (and it’s a task here), so it should not be hard to edit an existing code.

There is a BF interpreter in IDEone (but without #, $, ; and :).

I wrote my own Python code that enhances Code Abbey’s BF (# for comments and ! for printing the status, but without the stack operations).

Ha, why not writing an interpreter for 4004’s ASM?

Rodion (admin)     2015-02-02 13:18:08
User avatar

Matthew, Hi!

> Is it possible to add the code execution tools to the bottom of the Brainfuck Help

Yes, it sounds like a good idea! Thanks! Though I do not think I'll do this right now (while I'm struggling with design changes) - I add this to our issue list.

>Ha, why not writing an interpreter for 4004’s ASM?

I believe here is one! :)

When I learned that you and MoffSerge (and probably other users) have written your own interpreters for BF in Python, I decided that for Asm 4004 I should create it beforehand:

https://github.com/CodeAbbey/intel4004-emu

So that everyone can download and use / extend it as much as you want. It also has its small interpreter page to try it live (just as Matthew proposes for BF).

Please login and solve 5 problems to be able to post at forum