aboutsummaryrefslogtreecommitdiffstats
path: root/root/articles/mmmfs/language_support/moonscript
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-11-09 13:14:56 +0000
committers-ol <s-ol@users.noreply.github.com>2018-11-09 13:14:56 +0000
commitfa977b6a5d6f6063479a97917810ef393c312e76 (patch)
treeb21984147c34293fe91e76eef13bfd969b3a7368 /root/articles/mmmfs/language_support/moonscript
parentadd $order mechanism (diff)
parentadd deploy script (diff)
downloadmmm-fa977b6a5d6f6063479a97917810ef393c312e76.tar.gz
mmm-fa977b6a5d6f6063479a97917810ef393c312e76.zip
Merge branch 'new-tup'
Diffstat (limited to 'root/articles/mmmfs/language_support/moonscript')
-rw-r--r--root/articles/mmmfs/language_support/moonscript/text$moonscript -> mmm$dom.moon10
-rw-r--r--root/articles/mmmfs/language_support/moonscript/title: text$plain1
2 files changed, 11 insertions, 0 deletions
diff --git a/root/articles/mmmfs/language_support/moonscript/text$moonscript -> mmm$dom.moon b/root/articles/mmmfs/language_support/moonscript/text$moonscript -> mmm$dom.moon
new file mode 100644
index 0000000..5cc50e6
--- /dev/null
+++ b/root/articles/mmmfs/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/articles/mmmfs/language_support/moonscript/title: text$plain b/root/articles/mmmfs/language_support/moonscript/title: text$plain
new file mode 100644
index 0000000..f8871ac
--- /dev/null
+++ b/root/articles/mmmfs/language_support/moonscript/title: text$plain
@@ -0,0 +1 @@
+MoonScript