/LISP_Trans

Customize syntax of lisp with LangTrans

LISP_Trans

Customize syntax of lisp with LangTrans

source.yaml - Syntax Representation(Customized Language)
(Regular Expression for tokens)
target.yaml - Pattern Representation(Orginal Language)
(Template of orginal language with tokens)

Example

Customized Syntax

func printhis(s):
	format(t,s)
printhis("Customized!")

Original Syntax

(defun printhis (s)
	(format t s)
)
(printhis "Customized!")

Usages

py langtrans.py <source file> <target file> source target