Skip to content
/ tcl2lua Public

A tool for automated tcl→lua conversion, for SQLite TCL test suite

Notifications You must be signed in to change notification settings

mejedi/tcl2lua

Repository files navigation

tcl2lua

An attempt at automatic conversion from TCL to Lua.

The project leverages a parser from JIM TLC interpretor.

The conversion tool tcl2.lua recognizes patterns specific for sqlite TCL test suit. It is capable of converting ~99% of the code automatically. The remaining 1% are too complex and require manual work.

When automatic conversion fails, the tool emits a call to X function. AST is passed as a JSON string. X-s must be removed manually.

X(26, "X!cmd", [=[["sqlite3_shutdown"]]=])

About

A tool for automated tcl→lua conversion, for SQLite TCL test suite

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published