https://github.com/seedv/seedlangexamples
Example applications that demonstrate the features of SeedLang.
https://github.com/seedv/seedlangexamples
animation education game-development scripting scripting-engine unity
Last synced: about 1 year ago
JSON representation
Example applications that demonstrate the features of SeedLang.
- Host: GitHub
- URL: https://github.com/seedv/seedlangexamples
- Owner: SeedV
- License: apache-2.0
- Created: 2022-04-12T05:46:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-20T12:59:30.000Z (over 3 years ago)
- Last Synced: 2025-01-13T04:42:22.178Z (over 1 year ago)
- Topics: animation, education, game-development, scripting, scripting-engine, unity
- Language: ShaderLab
- Homepage: https://seedv.github.io/SeedLang/
- Size: 18.1 MB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SeedLangExamples
Example applications that demonstrate SeedLang's in-game scripting and
visualization features.
## AppleCalc
A simple project that shows the way how to embed SeedLang into a .Net console
application.
Here is an example run:
```shell
dotnet run --project AppleCalc
] 3+4*(5-3)-4
STEP 1: 🍎🍎🍎🍎🍎 - 🍎🍎🍎 = 🍎🍎
STEP 2: 🍎🍎🍎🍎 * 🍎🍎 = 🍎🍎🍎🍎🍎🍎🍎🍎
STEP 3: 🍎🍎🍎 + 🍎🍎🍎🍎🍎🍎🍎🍎 = 🍎🍎🍎🍎🍎🍎🍎🍎🍎🍎🍎
STEP 4: 🍎🍎🍎🍎🍎🍎🍎🍎🍎🍎🍎 - 🍎🍎🍎🍎 = 🍎🍎🍎🍎🍎🍎🍎
Result: 🍎🍎🍎🍎🍎🍎🍎
] bye
```
## FuncCallTrace
A visualizer that traces the function call history of a script program then
draws the function call graph with Unity animations.

## SeedLangUnityCommon
Common libraries for integrating SeedLang with Unity games or applications:
- An in-game code editor for SeedLang. It supports modern IDE features such as
syntax highlighting, auto indention, etc.
- A coroutine-based action queue framework to queue animations or other tasks
into Unity's main thread. With this framework, we can run SeedLang in a
separate thread and synchronize with Unity's main thread easily.
## SortingBot
A Unity project that visualizes common sorting algorithms with the visualization
framework of SeedLang.

## XyzWalker
A simple and interesting example that shows how to run a python script with
SeedLang and visualize the values of a set of variables during the runtime.
