changeset 771:dcae4dd718b8

add theme_to_luan
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 17 Aug 2016 18:12:19 -0600
parents 50f279d3f889
children bffbef96ca6d
files core/src/luan/modules/theme_to_luan.luan
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 50f279d3f889 -r dcae4dd718b8 core/src/luan/modules/theme_to_luan.luan
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/src/luan/modules/theme_to_luan.luan	Wed Aug 17 18:12:19 2016 -0600
@@ -0,0 +1,4 @@
+local Io = require "luan:Io.luan"
+local Parsers = require "luan:Parsers.luan"
+
+Io.stdout.write( Parsers.theme_to_luan( Io.stdin.read_text(), "stdin" ) )