Skip to content

bartschuller/smop-markup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smop-markup

Macro-enabled markup support using SIP-11 interpolation.

Say What?

XML strings in Scala source code, parsed at compile time (including compile failures for wellformedness errors), translated to the object model of your choice: Scala-XML, Anti-XML, ScalesXML, you name it.

Also: interpolation, with the types checked at compile time.

Status

  • XmlMarkup, the XML + Scala interpolation hybrid, seems finished, both as a design (which XML constructs to support, where to allow interpolation) and implementation.
  • The macro needs to be rewritten to use quasiquotes
  • I'd really like to have a pluggable object model, but I don't know how to have the equivalent of an implicit value at compile time. Tips welcome.

About

Scala compile-time parsing of XML literals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages