... My new language that I'm working on (Vlange) has keyword arguments only, with a more Smalltalk-style syntax. A function call takes this form: name...
... In Smalltalk, keywords messages have the lowest precedence, so the first example would work as expected. Do you not want it to work this way? You'd have...
... do you allow the keywords out of order? in SuperCollider you can pass any argument either positionally or as a keyword argument, and the keyword arguments...
... About a month. ... I also try to avoid "line noise". And, yes, avoiding ambiguity seems to be an intrinsic part of language design, although I think I'm...
... I decided not to allow arguments in any order, at least not at first. But it should be easy to do; simply sort the arguments alphabetically. Mixing it...
... Awesome! Thanks so much. That's just what I was looking for: a dispatch method for dynamically-typed languages that's competitive in time and space with...
... This code is not quite correct. You have to check whether the method you get out of the dispatch table has the same selector that you were looking for...
... my compressed table is 16% of the size of the uncompressed table. I have a pretty dumb packing algorithm so my fill rate is only 62% meaning I could get...
... Right. The paper states that the method will check that, which is why I'm passing "print__offset". In practice, I too would have the dispatch code do the...
... search ... them ... be ... keyword ... must ... simply "expression()" ... scoping, ... an ... overrided ... version ... localizes ... must ... these ... ...
I was thinking of the same thing over the holidays (and earlier). I want to write a text adventure game language and thought that this would be a cool way to...
... This is very true. Matching is not bad when done at compile time like with pattern matching and guards, but full predicates in a dynamic language -- could...
... Very true. But at the end of the day, all the predicate would have really done in a language with dynamic field lookup is enforce more type checking (e.g....
... [snipped] ... I'm kind of following here, but kind of not. :) Can you expand on this, say with an example and step by step notes. A while back ago I...
... I'll try to explain it a bit better. Firstly, you have two sets of data, the arguments passed to the method and this array of temporary values. Let's call...
... How does this work? Does the absence of a sucessful predicate raise an error which map catches? Could it work to do something like 1..10 filter: (x -> x %...
... Yes, that would work. I just don't like how it adds another block to the code. I like list comprehension, but not the whole new syntax that it creates. ...
I've been working on a new language called FISH. I thought that I would share my design goals to see what other language smiths think. Regards, Kevin A Frame...
... I like this idea. An object is simply a context anyway. What other languages have you looked at, where did you get this idea for FISH? ... I'm not sure...
Hi Mike, Thanks for you comments. ... I'll answer this in a separate email. ... The FISH grammar is extensible, to the point of being completely replaceable....
... I've been programming this way (with Contexts) for ten years. With FISH I wanted to bring it into the language. Here are some notes that I wrote on the...
This message is getting a bit long, so I've kept in only aspects that I will reply. ... This sounds kind of like Snobol, but at more of a syntax module level....
... I just want to point out that the major unit test framework for C# (NUnit, which also works with several other .NET frameworks) does indeed traverse the...
... I think that most of my programs already contain 10 different syntaxes: bash, Java, JavaDoc, HTML (both output and within JavaDoc), IDL, SQL, JSP, regex,...
I thought that this demo of the Subtext "language" might be of interest to a lot of people here: http://subtextual.org/demo1.html I found it quite amazing. I...
Hi, Mike, ... This is one thing I'm playing with, in a Python-like language <http://tinyurl.com/5nhwc> I want to write the tests directly into the methods, so...
... I think this is a good idea (I've been pushing it for years). But the complexity of the factorial example was enough to convince me that Subtext doesn't do...