Skip to content

mejedi/tcl2lua

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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