Skip to content

Latest commit

 

History

163 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P4-project

Our 4th semester project, in which we make a compiler to create a higher level language than G-code.

Choose "Release" in Rider (the button right of the hammer and left of the "play" button) Then compile the program, pressing the hammer.

To run the OG compiler

cd to the build directory (OG/OG/bin/net5.0/Release):

run on mac: ./OG <full .og filepath>

run on win: OG.exe <full .og filepath>

run platform independent: dotnet OG.dll <full .og filepath> <type_anything_to_write_to_console> to run from root (win): dotnet OG\OG\bin\Release\net5.0\OG.dll C:\Users\Martin\projects\P4\P4-project\OG\OG\testfile.og

without filepath the compiler can be run from Rider, always running testfile.og

with anything at options it prints the g-code to console else it creates a .gcode file at the destination of the .og file

About

Our 4th semester project, in which we make a compiler to create a higher level language than G-code.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages