All Projects → archo5 → sgscript

archo5 / sgscript

Licence: MIT license
SGScript Scripting Engine

Programming Languages

c
50402 projects - #5 most used programming language
C#
18002 projects
C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to sgscript

surgescript
SurgeScript: a scripting language for games.
Stars: ✭ 41 (-31.67%)
Mutual labels:  scripting-games, scripting-engine
eyepetizer kotlin
一款仿开眼短视频App,分别采用MVP、MVVM两种模式实现。一、组件化 + Kotlin + MVP + RxJava + Retrofit + OkHttp 二、组件化 + Kotlin + MVVM + LiveData + DataBinding + Coroutines + RxJava + Retrofit + OkHttp
Stars: ✭ 83 (+38.33%)
Mutual labels:  coroutines
FirebaseFlowExample
A sample android application which demonstrates use of Kotlin Coroutines Flow with Firebase Cloud Firestore.
Stars: ✭ 50 (-16.67%)
Mutual labels:  coroutines
MusicX
MusicX is a music player 🎵 android app built using Kotlin and Jetpack Compose. It follows M.A.D. practices and hence is a good learning resource for beginners
Stars: ✭ 85 (+41.67%)
Mutual labels:  coroutines
coroutines
A Kotlin framework for development of high performance, IO-driven applications.
Stars: ✭ 33 (-45%)
Mutual labels:  coroutines
BCVAX-Android
No description or website provided.
Stars: ✭ 19 (-68.33%)
Mutual labels:  coroutines
Shuttle
Shuttle provides a modern, guarded way to pass large Serializable objects with Intents or saving them in Bundle objects to avoid app crashes from TransactionTooLargeExceptions.
Stars: ✭ 39 (-35%)
Mutual labels:  coroutines
webtrekk-android-sdk-v5
Webtrekk Android SDK V5
Stars: ✭ 13 (-78.33%)
Mutual labels:  coroutines
CppAsync
async/await in vanilla C++11
Stars: ✭ 73 (+21.67%)
Mutual labels:  coroutines
WanAndroid
Kotlin+JetPack+协程+retrofit2实现的MVVM架构Material Design风格版Wanandroid客户端
Stars: ✭ 69 (+15%)
Mutual labels:  coroutines
Simple-Notes-Kotlin-App
✍️ Simple Note Making App use mvvm architecture , dagger , coroutines and navigation component. Features includes 🗒️ create , edit and ❌ delete notes
Stars: ✭ 40 (-33.33%)
Mutual labels:  coroutines
DemoApp
An Android template project for fast development and test.
Stars: ✭ 33 (-45%)
Mutual labels:  coroutines
yutto
🧊 一个可爱且任性的 B 站视频下载器(bilili V2)
Stars: ✭ 383 (+538.33%)
Mutual labels:  coroutines
ComposeNotes
Notes app with full jetpack compose architecture (UI + navigation). Uses MVVM, Room, Kotlin Flows & LiveData
Stars: ✭ 32 (-46.67%)
Mutual labels:  coroutines
Polyel-Framework
⚡️ Voltis Core: A PHP framework based on Swoole from the ground up
Stars: ✭ 22 (-63.33%)
Mutual labels:  coroutines
Artal
A .PSD parsing library for LÖVE
Stars: ✭ 41 (-31.67%)
Mutual labels:  game-library
android-clean-architecture
🚀🚀🚀 The boilerplate for Android using Kotlin & Clean architecture.
Stars: ✭ 21 (-65%)
Mutual labels:  coroutines
banana
🍌 Modern C++ Telegram Bot API library
Stars: ✭ 30 (-50%)
Mutual labels:  coroutines
PicoRenderer
Low-Level, 8-bit Colored, 3D Software Renderer written in C99
Stars: ✭ 55 (-8.33%)
Mutual labels:  low-level
mqtt
Kotlin cross-platform, coroutine based, reflectionless MQTT 3.1.1 & 5.0 client & server
Stars: ✭ 31 (-48.33%)
Mutual labels:  coroutines

SGScript v1.4.1

Usage

  • MinGW/GNU Make/GCC/Clang users:
    • compile the makefile (add mode=release to get the release build)
    • include src/sgscript.h and link with -lsgscript from the bin/ directory (-Lbin)
    • to get a static library, use static=1 and link to lib/libsgscript.a (-Llib -lsgscript)
  • VC10+ users: project file is in build/vc10/SGScript
  • XCode users: project file is in build/xcode
  • Android NDK users: include jni/Android.mk into your makefile

Sample Code and Documentation

Look in examples/, tests/ and docs/ directories.

To build local HTML5 documentation, use "make docs".

More sample code can be found in documentation: http://www.sgscript.org/docs/sgscript.docs/code-samples-sgscript

Features

  • A C-like syntax
  • The usual stuff (while/do-while/for/foreach, expressions, variables etc.)
  • Highly optimized, register-based virtual machine
  • Mixed memory management (ref.counting + GC)
  • Extensive native debugging features
  • Coroutines, threads, advanced sync features
  • Interactive debug inspector add-on
  • Function/instruction execution time and memory usage profiler add-on
  • 10 data types (with lots of space for extensions):
    • null, bool, int, real, string, function, C function, object, pointer, thread
  • Tests:
    • testing framework is in ext/sgstest.c => bin/sgstest ("make test" to run)
    • API testing framework is in ext/sgsapitest.c => bin/sgsapitest ("make apitest" to run)
    • C++/BC testing framework is in ext/sgscppbctest.cpp/h => bin/sgscppbctest ("make cppbctest" or "make cppbctest11" to run)
  • Object-oriented constructs (dict, class, closure, "compatible call", overloadable operators)

Bindings

  • .NET 2.0+ bindings are at dotnet/SGS.NET (currently only tested on Windows - standalone VM and Unity)

Bugs

  • Development branch status: Travis CI Build Status AppVeyor Build Status

If you think you've found a bug, please create a new issue on GitHub.

Don't forget to include a test sample, as small as possible!

Future plans

  • full state serialization
  • got a suggestion? write some sample code (in the form of a test) and send it here

Community

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].