embedded-scripting-languages
Ark
Our great sponsors
embedded-scripting-languages | Ark | |
---|---|---|
11 | 17 | |
1,209 | 537 | |
- | 1.7% | |
8.1 | 8.4 | |
10 days ago | 2 days ago | |
C++ | ||
- | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
embedded-scripting-languages
-
Steel – An embedded scheme interpreter in Rust
Hopefully the linked README provides a general overview (I know I need to write some more documentation!), but Steel is an implementation of the scheme programming language (not entirely compliant yet, but aiming for R5RS and R7RS compliance). It can be used as a standalone language via the interpreter/repl (like Python or Racket), or it can be embedded inside applications, like Lua. There are hundreds (thousands, probably) of embeddable languages, each with their own flavor - see a list compiled here for example https://github.com/dbohdan/embedded-scripting-languages
Use cases are generally for either configuration, scripting, or plugins - so scripting in games, or adding extensions to your text editor without having to use FFI or RPC + serializing a bunch of data. The advantage it has over using dynamic libraries (in general) is it runs in the same process, and can access the internal data structures directly without a lot of ceremony involved. The downside is typically is not as fast as native code unless a JIT is involved.
Javascript is an example of an embedded scripting, where the browser is the host application.
-
Lua: The Little Language That Could
> There is a huge opportunity, IMO, for more players here.
There are quite a few embeddable scripting languages [1]. I think these days it's less common to embed a language mostly because there are good high-level languages that applications can be predominantly written in.
- Ask HN: Embeddable Value-Oriented Languages?
-
Simple statically typed language with value semantics?
I'm not a huge fan of Lua but I think it is at least way more popular and better on every measure than TCL. There are plenty of other better less well-known options too: Rhai, Wren, AngelScript, Starlark (for some use cases), etc. There's a good list here.
- Language Interpreter for Coding Game
-
Choosing scripting extension - need advice
or perhaps use one of this list (depending on who's writing the configuration): https://github.com/dbohdan/embedded-scripting-languages
- Ana is a Python, PHP, and C inspired dynamically typed scripting language
-
How to implement an in-game programming language?
https://github.com/dbohdan/embedded-scripting-languages (coincidentally, from a user whose name I recognize from the Tcl wiki)
Ark
-
Dealing with documentation
This results in two websites: - the documentation of the language on the "main" website, https://arkscript-lang.dev ; - the technical documentation (+ modules) on doxygen: https://arkscript-lang.dev/impl/
-
November 2022 monthly "What are you working on?" thread
1: https://github.com/ArkScript-lang/Ark 2: https://github.com/AFLplusplus/AFLplusplus
-
Understanding tail-call optimization
Finally, instead of checking for a is_returned I checked for a is_terminal. You can find the complete implementation of this implementation here.
Lately, I've been working on optimizations for my language, ArkScript, and finally take some time to add tail-call optimization to my compiler.
- Contributed to some OSSs with pull-requests in this year too.
-
July 2021 monthly "What are you working on?" thread
Still working on ArkScript after releasing the 3.1.0, improving the standard library, adding modules, and working on performance improvements + adding parallel builtins soon!
-
ArkScript, a language designed to be used in C++ projects, now has macros
My bad, I totally forgot! Here it is https://github.com/ArkScript-lang/Ark
What are some alternatives?
hera - Hera: Ewasm virtual machine conforming to the EVMC API
Peregrine - A blazing fast language for the blazing fast world(WIP)
fake-gcs-server - Google Cloud Storage emulator & testing library.
boring-lang - A very boring programming language
Feral - Feral programming language reference implementation
zhetapi - A C++ ML and numerical analysis API, with an accompanying scripting language.
minima - A fast, byte-code interpreted language
nsis - ***This is just a mirror of https://sf.net/projects/nsis -- please report issues there*** NSIS (Nullsoft Scriptable Install System) is a professional open source system to create Windows installers. It is designed to be as small and flexible as possible and is therefore very suitable for internet distribution.
Yoakke - A collection of libraries for implementing compilers in .NET.
SmallGameLibrary - A small C++ game library relying on the SFML 2.5 -- going private
nullc - Fast C-like programming language with advanced features
grule-rule-engine - Rule engine implementation in Golang