Skip to content

Sphere is a memory-manipulating, low-level, minimalistic language with compact syntaxing while its runtime runs on freestanding code which uses absolutely no standard libraries.

License

Notifications You must be signed in to change notification settings

NullifyDev/Sphere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sphere

Sphere is a minimalistic language designed for both software and Operating System Development.
The language syntax is designed to balance readability and writability by minimizing the amount of characters required to write while maintaining the self-explanatory nature of the code and namings.

This language uses Freestanding-compatible C/C++ code to minimize the amount of refactoring reuqired to get Sphere-written projects to run on both with and without an environment.


Identifier Prefixes

Handle Description
$<object> Gets or sets the value of the specified object
@<object> Gets or sets the address of the specified object.

Learn more (coming soon)

Instructions

Instructions and Arguments Description
mov <object> <int> Move the object by signed number of addresses
incr <int> Increment current address by the given amount
decr <int> Decrement current address by the given amount
<string>(): <DataType> Function with name as string with one argument
out <arsg> Print all arguments before EOL without line break.
outln <args> Print all arguments before EOL with line break.
if <Condition> { <instructions> } Executes Instructions when condition returns true

Learn more (coming soon)

Support

Any operating systems that support LLVM and clang will be immediately supported.

Indefinate Softawre

Here are some of the software that are under consideration of development using Sphere as the language

  • Petroglyph IDE
  • Boulder Package Manager
  • RollOS
  • Asciigine (Console/Terminal based Game Engine with Ascii graphics)

About

Sphere is a memory-manipulating, low-level, minimalistic language with compact syntaxing while its runtime runs on freestanding code which uses absolutely no standard libraries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published