User loginNavigation |
archivesEmbedded Languages in Javaok, this may be one of those stupid questions that makes no sense, but can anyone give me any references, ideas, pointers, examples, etc to embedded languages in java. i don't mean compiling non-java to class files, but taking the idea of embedded or domain-specific languages and somehow making them work in java. for c++, for example, you might think of the recursive decent parser that uses template expansion (spirit?). but java doesn't have templates. so perhaps the question is more about whether there's anything useful to carry across from using dsls into "plain old" oo design. comments? have i missed something really obvious? thanks. Accurate step counting
Accurate step counting. Catherine Hope and Graham Hutton.
Starting with an evaluator for a language, an abstract machine for the same language can be mechanically derived using successive program transformations. This has relevance to studying both the space and time properties of programs because these can be estimated by counting transitions of the abstract machine and measuring the size of the additional data structures needed, such as environments and stacks. In this article we use this process to derive a function that accurately counts the number of steps required to evaluate expressions in a simple language. Somewhat related to a recent discussion (in which I mentioned EOPL1's scetion on deriving a compiler and machine from an interpreter). The paper is, of course, worth checking out regardless. By Ehud Lamm at 2005-06-18 16:19 | Functional | Implementation | Theory | 1 comment | other blogs | 5308 reads
JavaScript 2.0: Evolving a Language for Evolving SystemsJavaScript 2.0: Evolving a Language for Evolving Systems (pdf) Waldemar Horwat
|
Browse archivesActive forum topics |
Recent comments
22 weeks 6 hours ago
22 weeks 10 hours ago
22 weeks 10 hours ago
44 weeks 1 day ago
48 weeks 3 days ago
50 weeks 18 hours ago
50 weeks 18 hours ago
1 year 4 days ago
1 year 5 weeks ago
1 year 5 weeks ago