Hi, I was thinking about currying recently because I was trying to come up with a syntax that supported optional, positional and named parameters cleanly, and...
... The left side is how it looks like in my language, except it would be "map list" instead of "list map". Here is what I've written about currying ... I do...
... I will state that I largely agree with you in general. in my case I don't have currying, mostly because I couldn't think of a good reason to implement it...
Hi... Don't let the subject line miguide you! My question seems simpler than expected but really confusing me. I think you remember the language I designed for...
... [snip] ... Hi, In my language I try to push most of the features to standard libraries, so I can rely on few powerful primitives. Take a look at Smalltalk,...
... Pretty much agreed. ... Interesting. I'd like to hear why do you think of this as particularly good since my experience with python and ruby tells me...
... Agreed. On the subject at large, take a look at the direction Perl 5 took. Perl used to have a lot of its functionality expressed as syntactic idioms in...
... [snip] ... It's a common mistake in many languages to provide a nice syntax for built-ins but a (somewhat) painful regular syntax. Python and Ruby are good...
I notice a common theme in comparisons of Lua of Python is that Lua is easier to embed. The author of S-Lang also claims easy embedding. What do langsmiths...
On Saturday, September 6, 2003, at 9:56 AM, <chuckesterbrook@...> ... Here's the things I consider important for embedding: - no global variables - can...
... I pretty much agree with all of these too. The following are also very helpful (assuming embedding into a C/C++ program): 1) Able to call C/C++ functions...
Chris Double
chris.double@...
Sep 7, 2003 12:46 am
713
... I just looked at 'Pure Embedding' Python: http://www.python.org/doc/current/ext/pure-embedding.html and that doesn't strike me as *simple*. I should be...
... Looks pretty simple to me: Py_Initialize(); PyRun_SimpleString("some_python_script"); The complications come from any embedding interface when you want to...
Chris Double
chris.double@...
Sep 7, 2003 9:23 am
715
Hi, I have with me a parse tree obtained using JavaCC and JJTree. I am to do a tree pattern matching of this parse tree on a TEMPLATE to generate code. My...
... What it means for a language to be easily embeddable depends somewhat on the environment in which the program is running. Before I wrote Onyx[1], I spent...
I like to speculate about extremes. What if you had a language in which nothing was ever compiled, all definitions were looked up at run time. Slow, yes, but...
... You mean dynamic scoping? It was used in ancient Lisps and most people believe it was a mistake. It makes passing functions as data fragile: names of local...
The "context-sensitive" aspect of this seems so intriguing to me that I am going to delurk from this list. I don't have any new programming language of my own...
... Rebol sort of works this way. The program is a list of words. The leftmost word is parsed and executed and it gets to decide what to do with the remainder...
... similar problems? Or is this where I start building my own programming language ;) ? << Maybe I skimmed it too much, but it sounds like Generics (aka...
I'd like some comments on a design I've been working on. I started playing around with my minimalist experimental language and wondered what a language would...
Hi, The GPL code at http://www.acooke.org/jara/org-acooke/index.html includes classes to manipulate parse trees from JavaCC and validate them against XML...
andrew cooke
andrew@...
Oct 20, 2003 1:24 pm
725
... This looks very similar to a notation Henry Lieberman has used in some of his papers. To my knowledge his notation was never implemented, i.e. he used it...
I was now thinking of something that could be possibly interesting, or maybe not. general idea: the language is a lisp/scheme like language; the language is...
I mostly just ended up continuing on my last compiler effort (one that spits out c). I was largely altering it so that I can at least hope for "reasonable"...