diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-02-15 14:38:17 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2020-02-15 14:38:17 +0000 |
| commit | 3abb5c0be1bba44702a77a32caf368775ab855c2 (patch) | |
| tree | 5451aae8f5eb499094fd3b6f0338150798f8adf9 /root/research/mmmfs/examples/language_support/moonscript | |
| parent | fix conversion want wildcard (diff) | |
| download | mmm-3abb5c0be1bba44702a77a32caf368775ab855c2.tar.gz mmm-3abb5c0be1bba44702a77a32caf368775ab855c2.zip | |
rename articles to research
Diffstat (limited to 'root/research/mmmfs/examples/language_support/moonscript')
| -rw-r--r-- | root/research/mmmfs/examples/language_support/moonscript/text$moonscript -> mmm$dom.moon | 10 | ||||
| -rw-r--r-- | root/research/mmmfs/examples/language_support/moonscript/title: text$plain | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/root/research/mmmfs/examples/language_support/moonscript/text$moonscript -> mmm$dom.moon b/root/research/mmmfs/examples/language_support/moonscript/text$moonscript -> mmm$dom.moon new file mode 100644 index 0000000..5cc50e6 --- /dev/null +++ b/root/research/mmmfs/examples/language_support/moonscript/text$moonscript -> mmm$dom.moon @@ -0,0 +1,10 @@ +import a, article, h1, p from require 'mmm.dom' + +moonscript = a 'MoonScript', href: 'https://moonscript.org/' +lua = a 'Lua', href: 'https://www.lua.org/' +fengari = a 'fengari.io', href: 'https://fengari.io/' + +article { + h1 'MoonScript', + p moonscript, " is compiled to ", lua, " on the server, which is then executed on the client using ", fengari, "." +} diff --git a/root/research/mmmfs/examples/language_support/moonscript/title: text$plain b/root/research/mmmfs/examples/language_support/moonscript/title: text$plain new file mode 100644 index 0000000..f8871ac --- /dev/null +++ b/root/research/mmmfs/examples/language_support/moonscript/title: text$plain @@ -0,0 +1 @@ +MoonScript |
