Skip to content

Latest commit

 

History

History
139 lines (126 loc) · 10.7 KB

compatibility.md

File metadata and controls

139 lines (126 loc) · 10.7 KB

#Tessel is programmed in JavaScript.

##JavaScript

Tessel is programmed in JavaScript, which automatically compiles to Lua when you run code on Tessel.

Tessel aims for full JavaScript compatibility, with the exception of eval(). If you run into compilation error, please file an issue on our GitHub repo.

Documentation for the JavaScript programming language can be found here.

##Node Tessel is currently compatible with the most common and applicable core Node libraries. Most non-core libraries should also work however we don't yet support libraries with binary dependencies. If your module is not working, please file an issue!

Node library support is prioritized by which libraries are most relevant to Tessel usage. The target Node version is latest Node master.

Documentation for Node can be found here.

Supported and Under Development:

  • Most of the Node library is not yet supported. The method that IS implemented is: resolve
  • Async and sync versions of file/directory permissions/owner related functions are not yet implemented (chown, fchown, lchown, chmod, fchmod, lchmod)
  • Symlink related functions are not yet implemented (link, symlink, readlink, unlink)
  • File/Directory watching related methods not supported (watchFile, unwatchFile, watch)
  • Timestamp related functions not supported (utimes, futimes)
  • format not implemented yet
  • debug not implemented yet
  • error not implemented yet
  • puts not implemented yet
  • print not implemented yet
  • log not implemented yet
  • inspect not implemented yet
  • isError not implemented yet

###Plan to support in the future:

###No plans to support:

##CoffeeScript Tessel plans to eventually support CoffeeScript.

(Tessel can currently run pre-compiled CoffeeScript into JavaScript.)