Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a very beautiful and interesting project, and contains some themes that I've been thinking about myself recently (representations of code vs. data, interactive development environments, text markup, wikis).

I'm curious as to your take on the following opinion:

Even if your representation for an imperative programming language and declarative markup language are the same (I quite like using a parenthesized prefix notation for both), it's beneficial to cleanly separate those two languages in order to preserve a clean and distinct set of semantics for both.

(you can also extend this to a "presentation language" - what I'm getting at is that you can take the view that the tripartite separation of HTML, CSS, and JS in web technologies is actually a feature because it leads to a cleaner design than trying to mix all of those languages together (although I think that all of those particular languages have their own sets of flaws))

λ way is a very interesting project and I'm curious to see where it will go!



Thank you. Even if Lambdatalk is built on the underlying javascript it is not imperative but functional. Data are immutable, except inside arrays with'primitives like {A.set! index value array} equivalent to array[index] = value.

About the tripartite separation of HTML, CSS and JS it's always possible using the two special forms "style" and "script". But sometimes I find better to mix both in user defined functions, easier to build and edit inside a kind of box, it's a matter of choice.

Lambdatalk hides the different syntax of HTML, CSS and JS behind a single one, s-expressions, 9 special forms, [lambda, def, if, let, quote, macro, style, script, require] and a set of primitives dealing with words, sentences and arrays in a coherent style. For instance {W.first word}, {S.first sentence} and {A.first array} get the first term of a word, a sentence and an array. Using Javascript you would write word.charAt(0), string.match( /[^\s]*\s/ ) and array[0] to get the first character of a word, the first word of a sentence, the first term of an array.

Where will the lambdaway project go? I don't know. I have been working with for years, quasi lonely, trying to ipprove it and it is useful for me, as a tool to create documents and/or to explore funny algorithms.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: