LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2005, 06:53 PM   #1
uphu
Member
 
Registered: Dec 2004
Posts: 44

Rep: Reputation: 15
BF compiler


What are the chances I'll get a reply, sheesh <.<

Ok, seriously, does anyone know of a brainfuck compiler for linux which will give me an executable file. I know there are some javascript bf compilers, but I'm looking for a real BF compiler. Oh, and don't ask why

Thanks.
 
Old 01-16-2005, 11:12 PM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
Brainfuck has a lot of compilers, because it was made specifically to be easily parsable.

http://wiki.yak.net/551
That's one

http://esoteric.sange.fi/brainfuck/impl/
That's a bunch of interpreters and compilers for brainfuck. Most compilers will compile to C and then you can use your compiler of choice to continue.

Enjoy.. err... well as much as brainfuck can be enjoyed.
 
Old 01-16-2005, 11:31 PM   #3
uphu
Member
 
Registered: Dec 2004
Posts: 44

Original Poster
Rep: Reputation: 15
Those are all great I geuss. But that's all I've been finding: programs which turn BF into C. This is not what I want.

For windows, I found this incredable compiler. It can take your BF code and turn it right into an exe. It will even tell you the cells being used etc. Its amazing!! Anyway, I was looking for something like this for linux, one which can turn my BF code into an app[?] (whatever you call those nameless things which you ./ ). I just hate booting into windows >.<

When I try running the exe above in wine I get the error
Code:
[root@localhost ~]# wine Brainfuck.exe
wine: Unhandled exception (thread 0009), starting debugger...
err:seh:EXC_DefaultHandling Unhandled exception code c0000005 flags 0 addr 0x777b4eb8
...but I think thats something wrong with wine, it does that with all exe's and I can't figure it out :\

Last edited by uphu; 01-16-2005 at 11:34 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 01:12 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 05:32 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 07:55 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration