> > I had some thoughts about how to approach the issue. I was thinking that > you could represent the language in a more semanticaly rich form such as a > RAG stored in a graph database. Then languages would be composed by > declaring lenses between them. > > As long as there is a lens to a editor dsl you could edit the labguage in > that editor. If you had a lens from SQL to Java (for example via jdbc) you > could ebed SQL expressions in java code. Give transitive lenses it would > also be a system supporting much reuse. A new DSL could then leverage the > semantic editing support allredy created for other languages. > > BR, > John > Just for completeness, the lenses you describe here remind me of OMeta's foreign rule invocation:
from http://www.vpri.org/pdf/tr2008003_experimenting.pdf see 2.3.4 Foreign Rule Invocation p. 27 of paper, p. 46 of pdf So, if you don't like the PEG roots of OMeta, perhaps it's a good reference that already works? Cheers, Tristan
_______________________________________________ fonc mailing list [email protected] http://vpri.org/mailman/listinfo/fonc
