Skip to content

software designed to run Sphere bytecode. Implements its own standard libraries if none available (freestanding env).

License

Notifications You must be signed in to change notification settings

NullifyDev/Sphere-Runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runtime

The runtime is an SBE and SBF interpreter that will run the bytecode generated by the Sphere Compiler and implement its own standard functions if in a freestanding environment.

The runtime can only start running while at least one process is running. Processes can be started by executing an SBE file in association to the Sphere Runtine.

The Sphere Compiler can be found here

Only through Runtime can SBEs load SBFs.

[TBA] Commands (Non-Freestanding)

comand description
sphere start <dir/to/executable.sbe> runs the provided sbe
sphere end <dir/to/executable.sbe> sends quit signals to all processes within the given
sphere end <pid> sends a quit signal to the process wit the id
sphere kill <pid> kills the process and frees the related memory entirely
sphere kill <dir/to/executable.sbe> kills all processes and frees the related memory entirely
sphere pause <pid> pauses the process and skips its execution until resumed
sphere resume <pid> resumes the process and continues from the last instruction

Basics

Memory

Each process has an address and length. The pointers within the process are indexed instead of giving absolute location (the true location of the pointer or object in question) The Data Memory and Function Memory is separated and placed in a random location within the memory.

Where to find me

To keep yourself up to date with my language, please head over to r/ProgrammingLanguages discord server within the #sphere channel under PROJECTS Q-Y Category
I also have a Discord community server

Supported Platforms

Platforms that are supported by clang are automatically supported

About

software designed to run Sphere bytecode. Implements its own standard libraries if none available (freestanding env).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published