1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00

Update README.md - Fixes #308

This commit is contained in:
Calvin Rose 2020-03-13 20:00:32 -05:00
parent 0600b32908
commit 7996edfef9

View File

@ -9,19 +9,21 @@
**Janet** is a functional and imperative programming language and bytecode interpreter. It is a **Janet** is a functional and imperative programming language and bytecode interpreter. It is a
modern lisp, but lists are replaced modern lisp, but lists are replaced
by other data structures with better utility and performance (arrays, tables, structs, tuples). by other data structures (arrays, tables (hash table), struct (immutable hash table), tuples).
The language also supports bridging to native code written in C, meta-programming with macros, and bytecode assembly. The language also supports bridging to native code written in C, meta-programming with macros, and bytecode assembly.
There is a repl for trying out the language, as well as the ability There is a repl for trying out the language, as well as the ability
to run script files. This client program is separate from the core runtime, so to run script files. This client program is separate from the core runtime, so
janet can be embedded into other programs. Try janet in your browser at Janet can be embedded into other programs. Try Janet in your browser at
[https://janet-lang.org](https://janet-lang.org). [https://janet-lang.org](https://janet-lang.org).
<br> <br>
## Use Cases ## Use Cases
Janet makes a good system scripting language, or a language to embed in other programs, like Lua or Guile. Janet makes a good system scripting language, or a language to embed in other programs.
It's like Lua and Guile in that regard. It has more built-in functionality and a richer core language than
Lua, but smaller than GNU Guile or Python.
## Features ## Features
@ -43,7 +45,7 @@ Janet makes a good system scripting language, or a language to embed in other pr
* Imperative programming as well as functional * Imperative programming as well as functional
* REPL * REPL
* Parsing Expression Grammars built in to the core library * Parsing Expression Grammars built in to the core library
* 300+ functions and macros in the core library * 400+ functions and macros in the core library
* Embedding Janet in other programs * Embedding Janet in other programs
* Interactive environment with detailed stack traces * Interactive environment with detailed stack traces