Skip to content
/ OMC Public

OMC - OriginMachineCode the lowest level language after OASM

License

LGPL-3.0, MIT licenses found

Licenses found

LGPL-3.0
LICENSE
MIT
MIT-License.txt
Notifications You must be signed in to change notification settings

AshimeeAlt/OMC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMC

OMC Stands for Origin Machine Code its a low level language for OriginOS by @Mistium

Features

It has all the same features as OASM but its smaller and faster to parse

There are some special functions like svtf for hard to parse types (see "Custom Commands")

Output options

You can currently convert your OCM to OASM and vice versa.

I plan on adding OTAS support later on but right now thats a bit to hard to parse with my skill level (for reference I just started using rust when I made this!), along with converting your OASM or OCM to raw JS functions to run in the VM (this is just to complicated to make with the current system it was started).

Custom Commands

(These are intermediary compiler commands so you can use the in OMC but not OASM)


svtf: sets a variable to a float.

(takes 3 arguments var base and decimal and is converted to setv {var} {base}.{decimal})


svts: sets a variable to a string.

(takes 2 arguments var string length)

this will take the next string length bytes and set that as the variable

(and is converted to setv {var} {string})

Legal

OMC is not affiliated with OriginOS, Origin, OASM, OTAS or Mistium, nor is OMC endorsed by any of the above, This is purely a fan project.

The license is LGPLv3 w/ MIT

About

OMC - OriginMachineCode the lowest level language after OASM

Topics

Resources

License

LGPL-3.0, MIT licenses found

Licenses found

LGPL-3.0
LICENSE
MIT
MIT-License.txt

Stars

Watchers

Forks

Languages