kutil
embedded-scripting-languages
kutil | embedded-scripting-languages | |
---|---|---|
5 | 11 | |
6 | 1,296 | |
- | - | |
6.2 | 7.4 | |
3 months ago | 4 months ago | |
Go | ||
Apache 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.
kutil
-
Logger Dependency Injection
For reference, here's my implementation. Note that my wrapper supports both structured and traditional logging APIs.
-
Choosing scripting extension - need advice
For JS in Go use goja, which offers excellent integration with Go. Also I maintain an extension that adds Common-JS compatibility to it.
-
golang logging
I think your instinct is right. For all my projects I use these wrappers. If you have any feedback or contributions they would be much appreciated. I know it's a losing battle, but there's no choice but to fight. Semper fi.
-
What I'd Like to See in Go 2.0
This is mostly what I did with my kutil logging library (sorry, no good documentation on how to use it yet). So I can use the same API in all my code and then pick various backends per project in order to better unify the log. For example, in Kubernetes I can use klog as the backend. I also wrote my own "simple" backend that does everything that I personally want. I'm sure there are other similar libraries out there.
-
Writing custom JSON and BSON marshal/unmarshaller for shopspring/decimal
I really like the idea of an Extended JSON, so I created my own version called "CJSON". The code is pretty straightforward.
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.
[1] https://github.com/dbohdan/embedded-scripting-languages
- Ask HN: Embeddable Value-Oriented Languages?
- Embedded Scripting 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)
- Do you have problem to visit LambdaChip website?
What are some alternatives?
ffi-overhead - comparing the c ffi (foreign function interface) overhead on various programming languages
Ark - ArkScript is a small, fast, functional and scripting language for C++ projects
python-ard - Agnostic Raw Data (ARD) for Python
wasmer-go - 🐹🕸️ WebAssembly runtime for Go
grule-rule-engine - Rule engine implementation in Golang
starlight - a go wrapper for google's starlark embedded python language
prudence - An opinionated lightweight web framework built for scale
flamenco
ana
flirt - Automatic version selector for LÖVE