/saulscript

Toy scripting engine for Python games

Primary LanguagePythonMIT LicenseMIT

saulscript

Basically, I'm writing this crummy language because I need something that doesn't need to run well but will integrate into a dumb game I'm making that uses user-generated scripts. Intention is to support basic operations and calls to bound functions, and then operation counts and resource/time limits to scripts.

To-do:

  • Lexer
  • AST generation
  • AST Execution
  • Math operators
  • Assignemnt Operators
  • Data structures
  • The other random things I completed before I made this list
  • Print statements (most people probably do this first but ¯\_(ツ)_/¯)
  • Function invocations (doing this first because the logic for context-binding needs to be done)
  • Function declaration
  • Loops
  • Operation counting
  • Resource limits
  • Time limits
  • Move to Cython?

I named this thing after my pet rabbit ![Saul] (http://i.imgur.com/1ldAPFj.jpg)