User loginNavigation |
LtU ForumLearning language designI have been very curious about how language design is done.So,I decided to read up on it.I have started with "Programming Language Pragmatics".And I would say,just reading the first 2 chapters have given me lot of insight into scanners,parsers(LL\LR),context-free grammars,production etc.I wanted to know,how should I proceed? There are topics which I would like to explore in detail.Or,should I just first read the book completely? Please help find a paper/tutorialHi, I wanted to reread a paper that discusses how to extend data types in Haskell in a flexible way. newtype Mu f = In (f (Mu f)) Now 0 is encoded as In Zero, 1 as In $ Succ (In Zero), etc. The paper then goes on talking about building higher-order functions in this more flexible framework. I'm not looking for the original papers on catamorphisms and catamorphisms. Thanks for your help. XMF 2.0 Open SourceXMF 2.0 has been released as open-source under the EPL. XMF is an engine for writing languages. It was initially designed to run models-as-code and came out of work on the UML 2.0 standard. Therefore there is some linkage with UML/OCL. In addition many of the ideas came from work done on Lisp Engines (particularly CMU-lisp in the 80's) and work done (under the direction of Peter Landin in the early 90's) on language engineering as a design tool. XMF has a VM written in Java and can be used as dynamic HLL embedded or externally to Java. We think that the combination of features offered by XMF is novel: reflexive OO; embedded extensible syntax; closures; OCL support; Java integration; first class types; daemons; etc. We hope that people will take a look at XMF here join the forum and help us take XMF forward. TinyML - Lexer, Parser, Interpreter, and Polymorphic Type Checker in Under 700 Lines of SMLHere is the source code and some documentation for my tiny implementation of a toy ML like language. Of interest is the fact that it does polymorphic type checking by first converting expressions in the full abstract syntax to combinator expressions. One of my goals with this program was to make it totally self contained, so it does not use lex or yacc. Check it out: By frostytrees at 2008-02-21 08:37 | LtU Forum | login or register to post comments | other blogs | 7569 reads
Can we start an LtU group on CiteULike?I recently came to use CiteUlike through LtU, and it has become an invaluable resource for me in keeping my readings organized. For those of you who haven't heard of it yet, CiteULike is a bibliography tracking tool that allows you to organize your material using tags and automatically creates BibTex entries from web pages. When it was first brought up on LtU four years ago, the poster mentioned the idea of starting a CiteULike group for LtU. I don't know why this idea didn't get any traction, but I think it would be great to start that group now. This would make it much easier for LtU'ers to catalog and reference all the great papers that have been referenced here over the years. CiteULike groups can even be moderated (somewhat), if that's preferable. So, is anyone interested? A modular toolchain for parsing and compiling code?What do you say to Ted Neward's blog about Modular Toolchains? Is it feasible to have modular toolchains for the whole way from the source code to the executable or is it just utopia? Is it possible to convert every language to a standardized AST? Which language-features are difficult to represent in that AST? Where are the problems? Gilad Bracha: Cutting out StaticNothing terribly exciting or newsworthy, but I suspect that many readers will find something to love in this blog post from Gilad Bracha. He starts by asking, "Why is static state so bad, you ask?" and goes from there...
Uniform namingVia research!rsc, I came across The Hideous Name. Although it's mainly about file and email names, this paragraph was interesting.
Do any languages use a uniform naming system for all entities? [Edit: fixed the links] succinctnessWhat are your thoughts on the idea that "succinctness is power"?* I've been thinking about it a lot lately, especially with regards to stack-based languages, but I can't quite solidify my thoughts on the subject.
1667 State Machine John MiltonChapter 8 of Paradise Lost Thus have I told thee all my state, and brought |
Browse archives
Active forum topics |
Recent comments
8 weeks 1 day ago
8 weeks 1 day ago
8 weeks 1 day ago
8 weeks 2 days ago
8 weeks 5 days ago
8 weeks 5 days ago
9 weeks 52 min ago
9 weeks 4 hours ago
9 weeks 6 hours ago
9 weeks 6 hours ago