Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Now what

Name: L 2008-04-09 7:20

So i have written a compiler for a cool language, let's call it P6, and the compiler itself is written in P6.

What do I do now?

Name: Anonymous 2008-04-09 7:29

Compile it.

Name: Anonymous 2008-04-09 7:45

Compile it by hand like a real man.

Name: Anonymous 2008-04-09 8:42

Use pughs

Name: Anonymous 2008-04-09 10:03

I know EXACTLY what to do!

To view the rest of this comment you need a 4chan NIGGER™ account. Get your free 4chan NIGGER™ account today!

Name: Anonymous 2008-04-09 10:40

Use recursion.

Name: Anonymous 2008-04-09 10:45

BOOTSTRAPS

Name: Anonymous 2008-04-09 12:47

No, guys, seriously, you're not helping.
Especially >>4

Name: Anonymous 2008-04-09 12:49

Write a P6 interpreter in P6, then run the P6 compiler in the interpreter to compile itself.
Done.

Name: Anonymous 2008-04-09 13:44

>>8
You came here for help?

Name: Anonymous 2008-04-09 17:08

>>9
But what would interpreter/compile the interpreter?

Name: Anonymous 2008-04-09 17:28

>>11
You run the interpreter in itself, moron

Name: Anonymous 2008-04-09 17:32

>>12
What good is writing an interpreter in P6 if he can't compile the interpreter?

Name: Anonymous 2008-04-09 17:35

EXPERT METACIRCULARITY

Name: Anonymous 2008-04-09 17:41

Serious answer:
You will have to write a P6 compiler in another language (say, C + flex + bison) to compile your P6 compiler. It doesn't have to implement the entire language or do any optimization, just the functionality you used when writing the P6 compiler in P6.

Now you can throw your compiler written in C away. Then you'll be able to compile the next versions of your P6 compiler using the previous versions of itself.

Name: Anonymous 2008-04-09 21:06

Bootstrap the fucking compiler.

>>15 is correct.

Name: Anonymous 2008-04-09 21:16

>>15,16
help, him, etc

Name: L 2008-04-09 23:49

>>15-17
You dumbasses, >>4 already suggested that, and I'm looking for a more simple solution.

Name: Anonymous 2008-04-10 1:41

>>18
Is there a simpler solution?

Name: Anonymous 2008-04-10 3:10

>>19
Thank you, good sir for using the correct word in your comment.

Name: Anonymous 2008-04-10 11:04

>>18
Dude, there is none. Short of interpreting the compiler yourself and writing the ASM yourself.

Just write a simple compiler that implements a short subset of the language and does no optimization in C, faggot.

Name: Anonymous 2008-04-10 11:10

Use BBCode.

Name: Anonymous 2008-04-10 11:26

Write another compiler in Haskell, and call it Pugs

Name: Anonymous 2008-04-10 11:30

>>23
Peyotes

Name: Anonymous 2008-04-10 12:11

>>1
Sorry, but what is P6?

Name: Anonymous 2008-04-10 12:17

Are you a nek­o?
You might want to join my N­eko Fore­st forums
ne­koforest.pro­boards58.com
Pl­ease read the rules before r­egistering

Name: Anonymous 2008-04-10 12:19

>>26
I can't believe you're still spamming this, after all these months.

This is just a really well thought troll, right?

Name: Anonymous 2008-04-10 12:20

>>27
Pay me enough and you might get access to my secret area of trolls.

Name: Anonymous 2008-04-10 12:53

BUT WHAT WAS THE FIRST EVER COMPILER WRITTEN IN?

Name: Anonymous 2008-04-10 12:56

>>29
MACHINE CODE

Name: Anonymous 2008-04-10 13:48

>>29
Butterflies

(BTW: Have you read your xkcd today?)

Name: Anonymous 2008-04-10 14:04

>>29
Christians will deny this, but on the seventh day God wrote a compiler.

Name: Anonymous 2008-04-10 14:22

>>32
And it compiled LISP.

Name: Yoda 2008-04-11 16:47

You should port it to Erlang.

Name: Anonymous 2008-04-11 17:13

>>26
It doesn't even work. That board was deleted a long time ago.


>>33
The universe was hacked together with Perl, and you know it.
http://imgs.xkcd.com/comics/lisp.jpg

Name: Anonymous 2008-04-11 17:14

Name: Anonymous 2008-04-11 17:17

>>35
Go away.

Name: Anonymous 2008-04-11 20:09

>>35
xkcd is definetely an overrated piece of crap.

Name: Anonymous 2008-04-11 20:41

>>37-38
You have been trolled intermittently.

Name: Anonymous 2008-04-12 0:16

>>39
This is not trolling, if posts about xkcd don't receive negative attention, people will start to think that xkcd is okay in [prog]spoiler[/prog]. WE must tell them to go away, or we'll turn into another /b/

Name: Anonymous 2008-04-12 12:06

Now port it to Erlang.

Name: Sgt.Kabukiman 2012-05-21 14:32

All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy
 All work and no play makes Jack a dull boy

Name: Anonymous 2013-08-31 23:33



           _!ゝ、.,_,. -- 、___,,.. -‐─ァ       (  )
          Σ_ _,..'ニi二7ニ、..,,___  _フ        ( )
          ,. '"´:::::::::::::::::::::::::::::::::::`ヽ、7          ノ7ミヽ/|
        _/_;;::::-──-- 、:;___:::::::::::::::::::':,      ( ) //ミミ!/ミヽ、 ( )
       r'ン-‐'' "´ ̄ ̄``"''ー 、ヽ:;:::::::::::::::',        ノ/ミ ミ/ミミヽ/
     / /            `ヽヽ:_::::::::|       〈iミ ミ/ミヽミン
    /  ,/   / /   i    ,      `ヾヽ:!   |/|   \7/ミヽミ/
    ,'  /7   ,ハ ‐|、 /|  /|   、  ヽ. ヽ.)   /!. ト、   /,へミヽノ
    i /-|  /ァ'f"'ヽ/ | / .|    ,!   ',  ', //  i`'ァ__/// `''´
    レ'へ|  /〈 ト、 7` |/   |-‐-/|    i i i ヽ.く_/,!-'、-'、ヽ.
       |/7,, ` `''´     ,.'--=、 !  / | ',  | | ,.'-‐、 ヽ  !
     /  ハ.    '          `,' ,.イヽ,|  ヽ.ノ / ! ,r、     ,'>
    /  / へ.   l7 ̄ `ヽ  ""///ヽ、.!__,ハ i / |7'ゝ、  ,.イヽ.
    ´ ̄7 /.>iヽ.,ヽ、___ン   /´ /_>-''"'- !、  !'  >、_`ン  ハ
       |/\.|`7'´i>-‐r___'7´  ./'"      ,ヽ.  ', 、.,____,ン' `',
        く /  ,ハヘ、____,.ィ|/|,.イ      _r'7´`''ーヘ  !    i
         レヘ.   i::}>O<{::::::::::!      、_//ヽ   /!       |
           kニヘ/::::::';::::::::::::::::::ゝ.     | |     ,'        |
          ',   i';::::::ヽ、::::::/|::::ヽ、.,____,.!ヘ    !       ,'
          .i    ':;::::::}>oン::::::::::::::::ヽ_!__>、.,_        /
           |    iヽ:::::';:::::::::`ヽ、:;__|^7ァ /、    `ヽ、.,_____/
            i     ト、;:_::::::::::::::::::_;:O'イ:::::/\.
          ,'      |::::::/::`T''"´:::::';::::::::メ::::::::::ヽ.
          /       .!::/::::::::!:::::::::::::::'}>o<{::::::::::':,、
        rン、.,___     ,!ン'::::::::::::::::::::::::::::i/:::::::::::::::::::',ヽ.
        /i´  r`ヽ、__」:::::::::::i:::::::::::::::/::::::::::::::::: i::::::::i:::::'

Name: Anonymous 2013-08-31 23:40

>>1
>>15
dude if it is a COMPILER, you can just make a interpreter in some high level language (a lot easier), then interpret the compiler to compile itself, and ta-da you have a compiler

Name: Anonymous 2013-09-01 1:05



        _」_
    ×´      _,,.. -──- 、,_ァo 、__    `メ.
    /     ,  '"´         (- 、__ oヽ    _|__
       /             `ヽ. ヽハ)   ノ
      /                 Y⌒ヽ.
     /   /           ヽ.   |   ',
    ,'    !  ,   /!  ,| _   !.  |    !  あら? お客様でしたか
    |    |. __/|_ ,' .| / ! __ `./!  /|    |
    |    |´/ |_/  レ'  ァ'´ ̄` |/、ト、   |  ユックリ
     '、   |/ァ'´ ̄`         ,, |  |ソ   ハ  信仰していってくださいね!!
      \,ハ ,,     '      ( \|   / .|
        | ハ、   i7´ ̄`i   ,/ \_)  ,'  |
       ,' /  `> 、,`     ,. イ/\__!  !   !   |
      /   /    `T7´ //ヽ、__ノ__ |   | __,メ
      |   .| r/´`ー'-、/ ,'    .//::/`ヽ/
      八   i/    rノ  ,! ̄`ヽ、|/:/   i_
     ,'  X`;くト、  _ノ、  /ヘ`ヽ..Y  /:::>
     ! //  |:::| / .|:::|\/ ノ 八___ノr‐:':::://
     |/   |:::|./  |:::|/   )' ノ:::/--‐''´ ,'
     /    八::'、___ノ::ノ    _,. イ/     |
    ,'       \_/,|     /        !
    |          /|   /      /   |

Name: Anonymous 2013-09-01 2:36



    「 ̄ ̄|
     ̄7 /      __
    /,へ\    /::/ 、\
   く/  \>   |::::|  \ヽ.    /7\     ,. -───- 、
             |::::|__.';ハ_  |::|`|::|   /
   [][]r┐  , '" \\   |:::|r `7:/、.!::! /   幻  ほ
    r'.ノ /   r‐─'>'"´ ̄ `ヽく/イ  |    想  っ
  , ─ ┐/    ゝ‐/.        | `ヽrヽ |    郷.  と
  // ̄| | !  / ̄ ,.' ,'  /   ,  ,'   ∨ヽ    が   く
  `  .//,_r'´]_ノ| ./ _メ、/|  ∧|   ヽ」__   み   と
   .//{__r'´ ./ |/ 'Tテむr // __」   トイ    だ
    ` ヽ.|   ! .∠ イ 弋_ソ '´   ァr|、  /イ|.    れ
      |  人 (| |xx      , り,ハ/-'  、  る
  /  ,'  |  ) 八     __  x!/|.    \
 /  /  /   /ハ \     /!/       `'' ー─ ''"´
 !  /   /, '" ̄`ヽ|  ハ` r-イ | |
   .|  /::::::::::::::::::::::',  |\|\-、 !ヽ
  ノ  |:::::::::::::::::::::::::::|\ !ヽ \ |:::} ̄Y ´{
 (   r':::::::::::::::::::::\} ̄`Y´ ̄{/|ヽレ'ハ‐┘ 
_ノ ) ノヽ;:::_l_::::::::::;::イ\_/|ヽ- ' /、::::\リヽ.     、ヽ.
} ̄ヽァ‐/´:::::::`ヽ.__ノ::::::/ !\._/::::::ヽ:::::':, ,ハ     ',  ',
|__.ンヽ/ ̄`ヽ:;__/::::::::::::| ./:::::::::::::::::::::::::::::}. | /´{   |   |
 |  /ヽ-へ.__/ \::::::::、レ'::::::::::::::::::::::ノ:::ノ\リく_」.  !   !
.ノ /   ‐-'、  ,ハ::::::::゙:::::::::::::::::''":::::::|   `' 、     /
  l、     \ r!::::::::::::::::::::::::::::::/l::::|、    \

Don't change these.
Name: Email:
Entire Thread Thread List