OpenGS1


#1

I put my open source GS1 compiler/VM on GitHub today, check it out.

https://github.com/simply-jos/OpenGS1


#2

This is some cool shit. Thanks.


#3

Good shit.


#4

Awesome, I can finally study how and why a parser works.
I believe from the file extensions that it is C++… does it mean that we(or just I) will(or would?) have to use C++ to build upon it?


#5

I don’t really understand what OpenGS1 does… it seems pretty basic and it contains almost no gs1 commands.


#6

Think of OpenGS1 as a tool for mapping code written in the GS1 grammar to some arbitrary lower level functionality implemented somewhere else. I.e. A client or server…

Correct, in order to build upon this project you’ll need to write in c++.


#7

Ok, thanks. I’ll try to stay off my computer for a couple days… I’m using waay too much data.


#8

[USER=“521”]Downsider[/USER]
Just letting you know that I struck these errors with a fresh install of visual studio 2015 and Cmake.

If you could give me any hints on how to resolve these, it’d be appreciated.


#9

Those are builtins that probably aren’t implemented by MSVC, I’ve only tested this with Clang. I use them them for swapping endianness.

If you replace it, feel free to submit a pull request or I’ll patch it myself whenever I get around to it.


#10

Also, packed structs apparently have a different preprocessor directive for MSVC. You’d also have to change the attribute((packed)) thing.


#11

Any thoughts on a GS1 -> game monkey script converter?


#12

Cool this means we could finally do an NPC server with GS1 script :slight_smile: is the bytecode compatible with newer Graal clients?