https://github.com/creationix/jack
Another new language. The name will probably change.
https://github.com/creationix/jack
Last synced: about 1 year ago
JSON representation
Another new language. The name will probably change.
- Host: GitHub
- URL: https://github.com/creationix/jack
- Owner: creationix
- Created: 2013-01-10T05:24:14.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-02-23T02:50:20.000Z (over 12 years ago)
- Last Synced: 2025-03-24T04:13:06.625Z (about 1 year ago)
- Language: JavaScript
- Size: 822 KB
- Stars: 110
- Watchers: 18
- Forks: 7
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jack
Jack is a new language designed by Tim Caswell with the explicit goal of being easy to explain the semantics while still being powerful.
Jack is a scripting language aimed at kids learning to program as well as professionals who yearn for a simpler language (like me).
## Language Features
- Immutable unicode strings
- Mutable Binary buffers (fixed length)
- Booleans
- Null
- Integers
- Floating Point Numbers
- First class and higher-order functions.
- Lexical closure.
- Basic key/value maps for objects (no inheritance or prototype chain)
- Dense Arrays
- Everything is an expression where possible.
- Implicit return values
- Unified looping syntax that works on objects, arrays, and generator functions
- Object metamethods for advanced usage (get, set, keys, length, call)
- Allows objects to act like functions, arrays, etc.
My guiding principle while adding language features and semantics is:
> Keep it Simple, Keep it Safe
See the examples folder for syntax examples.