embedded-scripting-languages
love
embedded-scripting-languages | love | |
---|---|---|
11 | 258 | |
1,218 | 4,415 | |
- | 3.3% | |
8.1 | 9.7 | |
about 2 months ago | 3 days ago | |
C++ | ||
- | GNU General Public License v3.0 or later |
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.
[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?
love
-
Ask HN: Yo wants to build a game, I'm lost. What can I do?
I've built a few games with my son over the years. The fun part for us was all about fast iteration, and then laughing at the bugs together.
There are some other recommendations here for how to approach 3d, and he is specifically asking for 3d -- but I want to put in one more pitch for 2d: the fun-to-tedium ratio can be much higher.
I wonder if you could spend some time prototyping some of his ideas in LÖVE https://love2d.org/ -- if you show him the smallest sketch of something working, he might have an idea about what to add next.
Many years ago, on a flight, we went from 0 to game before we landed (with no experience).
-
Show HN: A variant of Conway's Game of Life in color you can run on your phone
* When a cell is born it randomly takes on the color of one of its (3) parents.
To try it out:
1. Install LÖVE for your device from https://love2d.org (~5MB and open source). (iOS requires building from source on a Mac, or installing the third-party Love2D Studio: https://love2d-studio.marknoteapp.com)
2. Install my Lua Carousel from https://akkartik.itch.io/carousel (~100KB). It includes all its source code and can be edited live on a computer as it runs.
3. Copy the ~100 lines of code from the bottom of https://akkartik.itch.io/carousel/devlog/651711/new-version-after-9-days and paste them into Lua Carousel.
-
Gearing up for Lua
Probably the most important piece of software we'll be playing around with is a game engine called LÖVE. Lua is well known around developer circles as being a good scripting language when it comes to making games, and this engine is one of the more popular. I'll be going through installation at the end of this post.
-
Original Sling'n'shoot Worms Game
I got it – these are the steps I took:
1. Download Love from https://love2d.org/
-
Can't make my mind about which engine to use
libGDX is great, but I can understand if it's not for some people. This also applies to love2d, raylib and Monogame
-
How Do I Compile/Install Love 0.10.2 on Linux?
You don't need to use git if you don't want to. Try downloading the 0.10.2 source directly here (the file you want is love-0.10.2-linux-src.tar.gz); I see you've tried this already but try again just to see what happens. Extract it to a directory (e.g. love-0.10.2-linux-src) and then run:
-
Not only Unity...
Love2d (MIT/C++/Lua) https://github.com/love2d/love
-
Ask HN: Released games built on FOSS engines?
- Löve (doesn't have a separate page, but showcases a few games at the bottom of the page): https://love2d.org
-
How to have the coolest booth at a tech conference 🕹👾
The game, Wasp Escape, was built using the open-source Löve 2D game library for Lua.
-
I want to make a game but I'm scared...
love2d (lua) is a productive, fun, good docs, and most importantly proven / field-tested 2d game library, with easy to learn fast to compile and fast to run language - lua. while lua might not have a lot of features as python, the big bonus is that its much more focused language, which is important because otherwise you can get easily distracted on bells and whistles that other programming languages provide, i know that from experience
What are some alternatives?
Ark - ArkScript is a small, fast, functional and scripting language for C++ projects
raylib - A simple and easy-to-use library to enjoy videogames programming
grule-rule-engine - Rule engine implementation in Golang
Godot - Godot Engine – Multi-platform 2D and 3D game engine
wasmer-go - 🐹🕸️ WebAssembly runtime for Go
MonoGame - One framework for creating powerful cross-platform games.
starlight - a go wrapper for google's starlark embedded python language
Godot Card Game Framework - A framework which comes with prepared scenes and classes to kickstart your card game, as well as a powerful scripting engine to use to provide full rules enforcement.
Rhai - Rhai - An embedded scripting language for Rust.
TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.
wazero - wazero: the zero dependency WebAssembly runtime for Go developers
bevy - A refreshingly simple data-driven game engine built in Rust