Skip to content

JS-like self-documented serializable scripting engine in C#

License

Notifications You must be signed in to change notification settings

Mishin870/MHScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MHScript

JS-like self-documented serializable scripting engine in C#

Requirements

  • .net framework 3.5+

Hello world

//If you define a global "alert" function, that shows MessageBox
alert("Hello, world!");

How to start

Read this wiki page.

Serialization

You can serialize compiled script to increase loading speed (run it without syntax processing) See the wiki page for it.

Documentation

All functions (include your own) in MHS contains their descriptions and full signatures. Engine can generate documentation for export or autocompleting in some code editor. how to use it.

Tasks

  • Parse lexems in script
  • Combine them to complex objects (compile)
  • Local script functions
  • Local function variables and callstack
  • Serialize script objects for future c++ client-side interpreter
  • Restructurize engine
  • Documentation generator
  • Improve serialization (for example, replace string in function calls by numeric id of functions)
  • Documentation for objects and object.functions()
  • Code editor
  • C++ client-side interpreter
  • Implement objects properties

About

JS-like self-documented serializable scripting engine in C#

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages