Mercurial Hosting > luan
annotate core/src/luan/modules/Parsers.luan @ 687:fc08c3b42010
add theme_to_luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 18 Apr 2016 01:08:35 -0600 |
parents | bb3818249dfb |
children | bdd766df1c17 |
rev | line source |
---|---|
585 | 1 java() |
2 local BBCode = require "java:luan.modules.parsers.BBCode" | |
3 local Csv = require "java:luan.modules.parsers.Csv" | |
687 | 4 local Theme = require "java:luan.modules.parsers.Theme" |
585 | 5 |
6 local M = {} | |
7 | |
8 M.bbcode_to_html = BBCode.toHtml | |
9 M.bbcode_to_text = BBCode.toText | |
10 M.csv_to_list = Csv.toList | |
687 | 11 M.theme_to_luan = Theme.toLuan |
585 | 12 |
13 return M |