Diablo wind is a name that has been occasionally used for the hot, dry offshore wind from the northeast that typically occurs in the San Francisco Bay Area of Northern California, during the spring and fall
— Wikipedia
Diablo is a Frege
(http://frege-lang.org) library to access
different template engines using the same api
1. Versions
This is the compatibility version table of the current Diablo release:
name |
version |
diablo |
0.1.2 |
frege-core |
org.frege-lang:frege:3.24-7.100 |
frege-repl |
org.frege-lang:frege-repl-core:1.3 |
jdk |
1.7+ |
Because Frege is evolving at fast pace, at least at the moment, Diablo is trying to follow latest versions of Frege. That’s why I thought it would be important to have a chapter where users would see a compatibility table of the current release. |
2. Getting started
import diablo.Diablo (fromString)
import diablo.Groovy (GroovyEngine)
renderGroovy :: IO String
renderGrovy = do
engine <- GroovyEngine.new ()
fromPath "samples/index.gtpl" [("title", "Frege Rocks")]