Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 5th, 2005, 11:54 PM   #41
kludge
Newbie
 
Join Date: Aug 2005
Posts: 2
Rep Power: 0 kludge is an unknown quantity at this point
Check out the brainfsck language. There are some very simple/small compilers for it.
kludge is offline   Reply With Quote
Old Dec 6th, 2005, 1:45 AM   #42
lectricpharaoh
SEXY SHOELESS GOD OF WAR!
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,183
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by kludge
Check out the brainfsck language. There are some very simple/small compilers for it.
Hehe, all Brainfuck does is shift the load from the machine to the man. How do you think it got its moniker? Someone was trying for absolute minimal Turing completeness when they wrote that.

Besides, isn't it interpreted? Last I looked (which was a while ago), I didn't see compilers for it.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Old Dec 6th, 2005, 5:21 AM   #43
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Example of brainf*** By grumpy.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Dec 10th, 2005, 7:08 AM   #44
SittingDuck
Programmer
 
SittingDuck's Avatar
 
Join Date: Nov 2005
Location: Moseley, Birmingham, England, Earth
Posts: 51
Rep Power: 4 SittingDuck is on a distinguished road
Probably someone was bored. The whole point of a compiler is to make it easier - duh!
SittingDuck is offline   Reply With Quote
Old Dec 10th, 2005, 1:37 PM   #45
pilot2000
Newbie
 
Join Date: Dec 2005
Posts: 4
Rep Power: 0 pilot2000 is on a distinguished road
just became a member to this forum and saw the posts on this matter.
anyway writting a compiler is for sure a really hard thing to do esspecailly if you haven't programmed alot yet.most compilers are written in c or c++.first of all you have to learn what a compiler exactly does.heres a small deal of one type of compiler
(1) lexical analysis > (2)syntactic analysis > (3)semantic analysis > (4)target code generation.
but the first thing to do is to determine your language.(not as easy)
there are allthough some tools that will make your life easier but knowing c is a must.try looking at gnu lex/flex and yacc/bison.
pilot2000 is offline   Reply With Quote
Old Dec 12th, 2005, 8:09 PM   #46
-=PARADOX=-
Programmer
 
-=PARADOX=-'s Avatar
 
Join Date: Oct 2005
Location: Portugal
Posts: 53
Rep Power: 4 -=PARADOX=- is on a distinguished road
Well... I'm doing a pascal interpreter in Prolog...
-=PARADOX=- is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:14 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC