#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! Greater Node compatibility is an area of active development.
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.
- buffer
- console
- console.dir not implemented yet
- console.time not implemented yet
- console.timeEnd not implemented yet
- console.trace not implemented yet
- console.assert not implemented yet
- crypto
- Most of the Node library is not yet supported. The methods that ARE implemented are:
- dgram
- Event:'listening' not implemented yet
- Event:'close' not implemented yet
- Event:'error' not implemented yet
- socket.address not implemented yet
- socket.setBroadcast not implemented yet
- socket.setTTL not implemented yet
- socket.setMulticastTTL not implemented yet
- socket.setMulticastLoopback not implemented yet
- socket.addMembership not implemented yet
- socket.dropMembership not implemented yet
- socket.unref not implemented yet
- socket.ref not implemented yet
- 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)
- response.writeContinue not implemented yet
- response.setTimeout not implemented yet
- response.headersSent not implemented yet
- response.sendDate not implemented yet
- response.addTrailers not implemented yet
- http.agent not implemented yet
- Global Agent not implemented yet.
- server.maxHeadersCount not implemented yet
- sever.setTimeout not implemented yet
- server.timeout not implemented yet
- Event:'upgrade' not implemented yet
- Event:'continue' not implemented yet
- request.abort not implemented yet
- request.setTimeout not implemented yet
- request.setNoDelay not implemented yet
- request.setSocketKeepAlive not implemented yet
- http.agent not implemented yet
- Global Agent not implemented yet.
- net.createConnections not implemented yet
- server.address not implemented yet
- server.unref not implemented yet
- server.ref not implemented yet
- server.maxConnections not implemented yet
- server.getConnections not implemented yet
- Event:'listening' not implemented yet
- Event:'connection' not implemented yet
- Event:'close' not implemented yet
- Event:'error' not implemented yet
- socket.bufferSize not implemented yet
- socket.setEncoding not implemented yet
- socket.pause not implemented yet
- socket.resume not implemented yet
- socket.setTimeout not implemented yet
- socket.setNoDelay not implemented yet
- socket.setKeepAlive not implemented yet
- socket.address not implemented yet
- socket.unref not implemented yet
- socket.ref not implemented yet
- socket.remoteAddress not implemented yet
- socket.remotePort not implemented yet
- socket.localAddress not implemented yet
- socket.localPort not implemented yet
- socket.bytesRead not implemented yet
- socket.bytesWritten not implemented yet
- Event:'timeout' not implemented yet
- Event:'drain' not implemented yet
- Net.isIP not implemented yet
- Net.isIPV4 not implemented yet
- Net.isIPV6 not implemented yet
- Most of the process library is not yet supported. The methods that ARE implemented are:
- 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.)