1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 02:59:54 +00:00

Update README.md

This commit is contained in:
Calvin Rose 2023-06-05 12:55:08 -05:00
parent 528a516390
commit 8c819b1f91

View File

@ -9,6 +9,10 @@
**Janet** is a programming language for system scripting, expressive automation, and **Janet** is a programming language for system scripting, expressive automation, and
extending programs written in C or C++ with user scripting capabilities. extending programs written in C or C++ with user scripting capabilities.
Janet makes a good system scripting language, or a language to embed in other programs.
It's like Lua and GNU Guile in that regard. It has more built-in functionality and a richer core language than
Lua, but smaller than GNU Guile or Python. However, it is much easier to embed and port than Python or Guile.
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 in other programs. Try Janet in your browser at Janet can be embedded in other programs. Try Janet in your browser at
@ -102,14 +106,6 @@ See the examples directory for all provided example programs.
(MessageBoxA nil "Hello, World!" "Test" 0) (MessageBoxA nil "Hello, World!" "Test" 0)
``` ```
## Use Cases
Janet makes a good system scripting language, or a language to embed in other programs.
It's like Lua and GNU Guile in that regard. It has more built-in functionality and a richer core language than
Lua, but smaller than GNU Guile or Python. However, it is much easier to embed and port than Python or Guile.
Some people use janet for sysadmin scripting, web development, or small video games.
## Language Features ## Language Features
* 600+ functions and macros in the core library * 600+ functions and macros in the core library