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 Why?
IOW, very LISP-like, but move the operation name outside the parenths.
Everything in Lisp is a List or an operation on a list. This flexibility means that the distinction between functions and data is very gray, providing a maximally extensive language.

From the standpoint of what you are proposing, I don't see the advantage yet. All I see is a rearrangement of syntactical structure.

What does the rearrangement buy me in terms of flexibility or extendibility?
New not the full story
>> From the standpoint of what you are proposing, I don't see the advantage yet. All I see is a rearrangement of syntactical structure [from LISP]. <<

I prefer the name on the outside. It is more natural IMO.

Besides, there are other features of the language that are not in LISP (such as named-parameters and dot-based dictionary arrays) or are in LISP but not needed because they are done a different way.

________________
oop.ismad.com
New Not a contest with Lisp
It's best to remember that Lisp is over 40 years old and is still a language that can do things that surpass any modern language. The syntax may not be to your liking, but there are reasons for that syntax that make the language capable of being used for practically any programming paradigm ever invented.

As I said, Lisp uses the idea of Lists and Operations on Lists, as well as the idea of Lists of Operations on Lists. It has an internal consistency that pays dividends in terms of flexibility.

Again, the question is not a matter of tastes - it's a question of why? Why are you proposing the layout that you are proposing? What does it buy me in terms of flexibility/extendibility?

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

Messing with brain chemistry is not something to be lightly considered.
128 ms