IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Guessing but...
I'm not saying that it might not be nice. I am just asking you to explain the reason you consider it to be important

I suspect he thinks it will be easier to write a language parser that follows one basic syntactical idiom. If you can phrase
x < 2
as
cmp (x, "<", 2)
than everything can be parsed as
function (arguments)
in a rather iterative fashion
Jay O'Connor

"Going places unmapped
to do things unplanned
to people unsuspecting"
New I doubt it...
I suspect he thinks it will be easier to write a language parser that follows one basic syntactical idiom.
I doubt that for two reasons.

First, Bryce has been vocal in his opposition to any language feature that is done for the purpose of making parsing easier.

Second, I have my doubts about whether Bryce ever intends to write a parser, so I wouldn't think he's too concerned with parsing issues.

I guess while we're on the subject, I might as well ask how the syntax lays out when the number of parameters is not 2. What does the syntax do when there is only a single parameter? What does the syntax do when there are three or more parameters?

Haskell gets away with it by stipulating that all functions take only a single parameter. Additional parameters are Curried in functions that also take a single argument.

Python, OTOH, always takes a single parameter, but the parameter may be a tuple which allows multiple parameter to be group together as a single parameter.
New not true
>> First, Bryce has been vocal in his opposition to any language feature that is done for the purpose of making parsing easier. <<

Like I said before, this is only a proof of concept, and NOT a final version by any long-shot.


>> Second, I have my doubts about whether Bryce ever intends to write a parser, so I wouldn't think he's too concerned with parsing issues. <<

That is what you guys said about a runnable SCGUI browser, and I made one. Anybody is welcome to try it.
( [link|http://www.geocities.com/tablizer/scgui.htm|http://www.geocitie...er/scgui.htm] )


>> I guess while we're on the subject, I might as well ask how the syntax lays out when the number of parameters is not 2. <<

I don't see why that would be a problem.

x()

x(p1)

x(p1 p2 p3)

(I wont go into named parameters here)

________________
oop.ismad.com
New Yes, he's been vocal - but then, he wasn't writing a parser!
New A "walk a mile in another's compiler" argument?
I still say that being programmer-friendly is more important than being compiler-friendly.

However, a hobby test project does not have that luxury, and may have to bend toward keeping the compiler/interpreter simple at the expense of some syntactical niceties.

IOW, you are comparing the standards for apples to the standards for orangees.

If the early draft for PHB had dollar signs, that would not bother me because I would not use it at that stage. But BY NOW those fricken dollars should be long gone (except for embedding variables in strings, where they make sense).

________________
oop.ismad.com
New (addendum)
BTW, I plan to *incrementally* extend the syntax to make it friendlier. The "base" may be purely function-based, but extended from there.

One approach is to simply gradually add more complex syntax to the parser. Another is to have a pre-compiler convert the "friendly" version into the function-only version. I have not decided that yet which path to follow.
________________
oop.ismad.com
     Language with syntax like command(params) ? - (tablizer) - (30)
         Most existing languages have that syntax: C, Pascal, Java... -NT - (CRConrad) - (21)
             I think you are missing my point - (tablizer) - (20)
                 Haven't seen one but ... - (altmann) - (2)
                     good suggestions, but..... - (tablizer) - (1)
                         Haskell - (ChrisR)
                 Isn't it obvious that that's fscking styoopid?!? -NT - (CRConrad) - (3)
                     CRC: Not Delphi == Stupid - (tablizer) - (2)
                         It appears to be a different way to do things - (orion) - (1)
                             are you being a meanee? - (tablizer)
                 Syntax is syntax. - (admin) - (2)
                     complex? - (tablizer) - (1)
                         Simple. - (a6l6e6x)
                 Why? - (ChrisR) - (8)
                     not the full story - (tablizer) - (7)
                         Not a contest with Lisp - (ChrisR) - (6)
                             Guessing but... - (Fearless Freep) - (5)
                                 I doubt it... - (ChrisR) - (4)
                                     not true - (tablizer)
                                     Yes, he's been vocal - but then, he wasn't writing a parser! -NT - (CRConrad) - (2)
                                         A "walk a mile in another's compiler" argument? - (tablizer) - (1)
                                             (addendum) - (tablizer)
                 (minor correction) - (tablizer)
         Interesting idea. - (static)
         TCL? - (Arkadiy)
         Name your arguments - (tuberculosis) - (5)
             not sure I fully agree - (tablizer) - (4)
                 Limitation is in your head - (tuberculosis) - (3)
                     Software engineering is all about our heads - (tablizer) - (2)
                         No - (tuberculosis) - (1)
                             not necessarily "ordered" - (tablizer)

And from the spring collection, tablizer is wearing a simple three-table combination here, which offsets the index tables beautifully, whilst still preserving the relationships.
303 ms