Giter Club home page Giter Club logo

minitscript's Introduction

License: MIT NIX Build Status MacOSX Build Status Windows/MINGW Build Status Windows/MSC Build Status Coverity Scan Build Status

LOGO

This is the home of MinitScript - The mini C++ transpileable scripting language.

This document and repository is WIP. Expect a BETA release around 2024-04-01.
See section 1.3. for 1.0 BETA release TODO list.

1. Introduction

MinitScript is developed as part of our TDME2 3D Engine to match the requirements for high performance script execution, as well as straight forward game logic scripting.

MinitScript might borrow some ideas from JavaScript, Kotlin, PHP and even C# and C++, which you might like and find familier. Also note the focus on easy integration into other products and easy customizability and extendability.

1.1. Open source

1.2. Language features

  • Introduction to MinitScript language features:
    • very small implementation of a scripting language
    • runs on every CPU, OS, ... due to its simplicity, so its highly portable
    • can be easily extended by writing state machine machine states and script methods in C++ as well as custom data types
    • built-in data types: null, boolean, integer, float, string, byte array, array, map and set, ...
    • when calling script C++ methods or script functions with arguments it does optionally use references or value by copy
    • supports functions/stacklets and recursion
    • supports lamda functions and inline stacklets
    • supports operators by operator to method mapping by a preprocessor run
    • supports loops, conditions and switch/case/default blocks
    • supports programming with classes style programming
      • for built-in datatypes: string, byte array, array, map and set, ...
      • for script classes/objects
      • for custom data types
    • supports event like programming
    • unicode support via UTF8
    • can be transpiled to C++

1.3. 1.0 BETA release TODO list

  • Whats left to do for 1.0 BETA release
    • some adjustments
      • optional: make event system optional??? what about error emits/errors in functions/stacklets???
      • build system: check executable output directories
    • parser
      • improve error messages even more
    • documentation
      • detailed documentation for specific sections and maybe methods
      • README.md: resolve TODOs
      • README-BuildingHowTo.md: resolve TODOs
      • README-Syntax.md: TODO
      • README-Extension.md: TODO
      • README-Integration.md: TODO
      • ...
    • installer for Windows
    • installer for MacOSX

2. Language Documentation

3. Links

11. Donation

  • I have to pay my bills, beer and stuff, so if you have any use for this open source project, like educational, productive or fun, ..., consider a donation here PayPal, here GitHub Sponsors or via Amazon Wishlist

12. Bounties

  • We will most likely accept MinitScript (related) tasks as kind of bounties for a customized MinitScript or default MinitScript

minitscript's People

Contributors

andreasdr avatar

Stargazers

 avatar  avatar Julien Delezenne avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.