- From: d.brooks at auckland.ac.nz (David Brooks)
- Subject: [cellml-discussion] ABI CellML Meeting Minutes, 21st April 2010
- Date: Sat, 24 Apr 2010 10:44:18 +1200
DSL = Domain Specific Language.
An internal DSL is one used directly in your source code, as opposed to
reading and parsing sources from an external file. See
http://www.scala-lang.org/node/1403 for an example (esp. for BASIC
fans...). A DSL for menu building that could be used to say describe the
CellML web site might look something like:
Menu("Home") / "index",
Menu("About CellML") / "about" submenus (
Menu("Contact us") / "about" / "contact",
Menu("Featured articles") / "about" / "featured",
Menu("CellML scope") / "about" / "scope",
Menu("Current development") / "about" / "current-development",
Menu("Funding sources") / "about" / "funding",
Menu("CellML publications") / "about" / "publications"
),
Menu("Getting started") / "getting-started" submenus (
...
),
Regards,
Dave
>
- What are internal DSLs?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<
http://www.cellml.org/pipermail/cellml-discussion/attachments/20100424/b1835193/attachment.html>
Archive powered by MHonArc 2.6.18.