ChaiScript
Wren
Our great sponsors
ChaiScript | Wren | |
---|---|---|
5 | 22 | |
2,532 | 5,678 | |
0.8% | 1.7% | |
1.0 | 2.9 | |
3 months ago | 22 days ago | |
C++ | C | |
GNU General Public License v3.0 or later | MIT License |
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.
ChaiScript
-
How to use C++ as the core language for a Fantasy Console?
If you want to use C++ for scripting, take a look at Jason Turner's ChaiScript
-
Enabling C/C++ compilation in an application.
3) Similiar to 2, but use more common scripting languages: chai, cs-script, sol2 (c++ framework to embed lua)
-
ArkScript, a language designed to be used in C++ projects, now has macros
A few years back I actually went and made a ChaiScript based video game engine (https://16bpp.net/blog/post/masala-a-chaiscript-game-engine/). The end goal for it was to be able to make a Pacman like clone, but have all of the game logic implemented in ChaiScript. I actually found out as I added more realtime elements (implemented in ChaiScript) that it started to take much longer to process the game logic; the "game loop FPS" was under 60, which is not good. I actually proposition that ChaiScript move to a bytecode VM (https://github.com/ChaiScript/ChaiScript/issues/266), but I'm guessing that no movement was made on that front.
- Is it advisable to embed python in c++ ? Have anyone tried it, what is the best way to do it?
-
Looking for a codegen library that uses C++ for scripting
Maybe ChaiScript? It is not exactly what you are looking for, but very similar, in my opinion.
Wren
-
Pike Programming Language
Take a look at Wren if you want a similar looking embeddable scripting language. It was created by Bob Nystrom (who now works in Dart). Itβs a lovely language.
[1]: https://wren.io
-
Python or Lua for mod support for a game written in C/C++
My first choices would be Wren or Gravity.
- How Do I Create A programming Language In Lua?
-
Announcing Hush, a modern shell scripting language
Have you looked at Wren? Being embeddable is a primary use case.
-
I want to make 2D games as a hobby. But I've noticed that easy engines like Gamemaker have their own meme little languages. Is there a popular and simple 2D language that uses an actual programming language like Python or something?
I make DOME Engine (https://domeengine.com) which lets you program using the Wren scripting language (https://wren.io)
-
Created my first game in Luxe engine - AMA
Luxe uses the Wren scripting language, and has its own APIs on top of that. It also has a graphical editor, and a modular design where people can create modules which you can include in your project to extend the engine's capabilities.
-
Open 3D Foundation announces first major release of Open 3D Engine
Take a look at Wren by Bob Nystrom, who also wrote the book Game programming Patterns
-
-π- 2021 Day 1 Solutions -π-
I was initially going to do these in Python (and I still am) but someone in Discord got me to give Wren (https://wren.io/) a try. Here's my solution for both parts: import "io" for File
-
What's a good open source project for learning about programming languages?
And as a follow-up to this, the wonderful Wren, which has some neat extensions to the work done in Crafting Interpreters.
- Wren is a small, fast, class-based concurrent scripting language
What are some alternatives?
Lua - Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
LuaJIT - Mirror of the LuaJIT git repository
V8 - The official mirror of the V8 Git repository
Duktape - Duktape - embeddable Javascript engine with a focus on portability and compact footprint
squirrel - Official repository for the programming language Squirrel
luacxx - C++11 API for creating Lua bindings
sol2 - Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
ChakraCore - ChakraCore is an open source Javascript engine with a C API. [Moved to: https://github.com/chakra-core/ChakraCore]