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

Pages: 1-

Compilers

Name: Anonymous 2008-05-08 14:30

Anyone had any experience of writing a compiler?

I'm trying to parse a case statement and its causing some headaches lol.

Name: Anonymous 2008-05-08 14:35

lol

Why do you start writing compiler with a case statement?

Name: Anonymous 2008-05-08 14:40

The majority of the compiler is in place, i'm updating it so it can use a case statement.

Name: Anonymous 2008-05-08 14:51

>>3
Ask the person who wrote this compiler to add case statement.
Offer money if he refuses.

Name: Anonymous 2008-05-08 14:59

>>3
Just translate the case statement to equivalent if statements.

Name: Anonymous 2008-05-08 15:14

>>5 has never used Haskell.

Name: Anonymous 2008-05-08 15:16

>>5
See thats all good, but i don't know how many statements will be in the case block.

Name: Anonymous 2008-05-08 15:21

>>6
langs where case is not syntactic sugar for if-chains are the cancer.

Name: Anonymous 2008-05-08 15:28

>>8
That's what I used to think, but now that I'm less of an ignorant faggot I realize Haskell's pattern-matching case statement is a lot more useful.

Name: Anonymous 2008-05-08 15:34

>>8
This may surprise you, but even in C case is not syntactic sugar for if-chains.

Name: Anonymous 2008-05-08 15:37

>>10
ITS ALL SOME SORT OF JMPS IN THE END, DIMBO.

Name: Anonymous 2009-03-06 11:16

has left no clue   how to programm   if anyone can   make patch to   JavaScript Pure JavaScript.

Name: Trollbot9000 2009-07-01 10:24

Never thought I would like to sage  it That is  as long as  all quantities are  between 0 and  1 5x downgrade.

Name: Anonymous 2011-02-03 7:02

Name: Sgt.Kabukiman놡哧 2012-05-23 5:25

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
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

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