I've been using RSTA/Autocomplete with very good success (for my own work and to teach kids) within Kojo (http://www.kogics.net/webkojo).
Kojo is based on Scala, and for the most part, Scala support within RSTA is good. But I have identified a few areas that need improvement:
- * support for triple quoted multiline strings
* xml literal enhancement
- * highlighting of xml tags
* no scala keyword highlighting, except within scala escape blocks - { }
Here's a small Kojo program that shows these issues in action:
scala code:
val truetext = """
Yes!
"""
val falsetext = """
No!!
"""
val pg = Page(
name = "",
body =
<body>
Some xml literal based text with Scala keywords that should not be highlighted - if, else <br/>
Within Scala escape blocks (below), keywords should be highlighted
(as they are) <br/>
{ if (true) <em>{truetext}</em> else <em>falsetext</em> }
</body>
)
stClear()
stPlayStory(Story(pg))
How difficult is this to pull off? Pointers appreciated...
Thanks,
- Lalit
