![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#41 |
|
Newbie
Join Date: Aug 2005
Posts: 2
Rep Power: 0
![]() |
Check out the brainfsck language. There are some very simple/small compilers for it.
|
|
|
|
|
|
#42 | |
|
Caffeinated Neural Net
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 927
Rep Power: 4
![]() |
Quote:
Besides, isn't it interpreted? Last I looked (which was a while ago), I didn't see compilers for it.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp |
|
|
|
|
|
|
#43 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
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 |
|
|
|
|
|
#44 |
|
Programmer
Join Date: Nov 2005
Location: Moseley, Birmingham, England, Earth
Posts: 51
Rep Power: 3
![]() |
Probably someone was bored. The whole point of a compiler is to make it easier - duh!
|
|
|
|
|
|
#45 |
|
Newbie
Join Date: Dec 2005
Posts: 4
Rep Power: 0
![]() |
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. |
|
|
|
|
|
#46 |
|
Programmer
Join Date: Oct 2005
Location: Portugal
Posts: 53
Rep Power: 3
![]() |
Well... I'm doing a pascal interpreter in Prolog...
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|