Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 24 16:35
    rom1504 commented #97
  • Aug 24 16:33

    rom1504 on master

    Release 1.6.10 (compare)

  • Aug 24 16:31

    rom1504 on master

    add gitpod and fix gitmodules (compare)

  • Aug 24 16:29
    rom1504 closed #65
  • Aug 24 16:29
    rom1504 commented #65
  • Aug 24 16:28
    rom1504 closed #53
  • Aug 24 16:28
    rom1504 commented #53
  • Aug 24 16:28
    rom1504 closed #52
  • Aug 24 16:28
    rom1504 commented #52
  • Aug 24 16:27
    rom1504 closed #51
  • Aug 24 16:27
    rom1504 commented #51
  • Aug 24 16:26

    rom1504 on master

    Fixed issue #97 Merge pull request #97 from mrc… (compare)

  • Aug 24 16:26
    rom1504 closed #97
  • Aug 24 15:58
    mrcrille commented #97
  • Aug 24 15:23
    mrcrille commented #97
  • Aug 24 15:20
    mrcrille commented #97
  • Aug 24 15:18
    mrcrille opened #97
  • Aug 24 15:11
    rom1504 commented #97
  • Aug 24 15:06
    mrcrille opened #97
  • Mar 12 10:08
    SuperOP535 closed #92
mhsjlw
@mhsjlw
lol
William Gaylord
@wgaylord
i said little not small. :P
Hans Elias J.
@hansihe
mhsjlw: I did not bother putting it in, should be easy to do though
Hans Elias J.
@hansihe
so the way I am doing it is that a single protodef file is a compilation unit
inside a compilation unit all types can refer to each other, even recursively
a compilation unit can also optionally have native types, they need to be defined for each language the spec file wants to support manually
when a spec file with native types wants to support a target, it needs to have a separate config file for that target. it contains things the compiler needs to know to link in those types, including what type of value it returns
(this is what enables the compiler to generate a match on certain values, like integers)
config file also contains additional info a specific language backend might need
Hans Elias J.
@hansihe
once I have all of this done and working, I am going to add the ability to import a spec file into another spec file
I imagine this is how the protodef "builtins" would be handled, just a spec with common types implemented natively in all languages we support
when importing spec files, they will be handled as a completely separate compilation unit. it will be handled the same way as native types inside the compiler, but the needed information is taken from the spec file instead of per-language config files like for native types
in the future we can add support for including spec files from git repos if we want, that should be relatively easy
Hans Elias J.
@hansihe
ok, namespace resolving is fully finished now
types now know about each other
mhsjlw
@mhsjlw
hype !
I'm so excited
and I was thinking I'm going to work on a Swift backend as well
Java, Swift, Rust and Elixir
Hans Elias J.
@hansihe
I will add a way of temporarily annotating information to native types now, that stuff should be in a separate config file for each language eventually
mhsjlw
@mhsjlw
not in that order specifically
Hans Elias J.
@hansihe
java is priority for me at least
mhsjlw
@mhsjlw
yeah
are you using it in an Android app ?
Hans Elias J.
@hansihe
because I need to find what extra info I need to expose for a statically typed language
mhsjlw
@mhsjlw
or just for some other projects
ah I got ya
Hans Elias J.
@hansihe
nope, being able to use minecraft-data in java is just something I think would be important
mhsjlw
@mhsjlw
I agree
Hans Elias J.
@hansihe
it would expand our demographic by a lot
mhsjlw
@mhsjlw
And with compilation it will make it convenient
yes, it would
I think swift would as well
but maybe not as much for mc data but more for protodef
Hans Elias J.
@hansihe
I still think of protodef as mainly for mcdata lol
mhsjlw
@mhsjlw
I use it outside of Minecraft
Hans Elias J.
@hansihe
oh, you do?
mhsjlw
@mhsjlw
yeah
Robin Lambertz
@roblabla
node-raknet still counts as minecraft stuff @mhsjlw :P
But more seriously, I do have grand plans for protodef outside minecraft.
Hans Elias J.
@hansihe
roblabla: grand plans? :P
CertainLach
@CertainLach
Protodef is a good replacement for protobuf :D
Robin Lambertz
@roblabla
@hansihe: defining all the things :D
Hans Elias J.
@hansihe
hah
Robin Lambertz
@roblabla
TCP/UDP/IP definitions. Common protocol definitions (http2 anyone ?)
Wireshark integration
More metadata types so we can better document the format (description, title, etc...)
Some info about what's the "canonical" transport used (TCP/IP ? unix socket ? UDP ?)
Hans Elias J.
@hansihe
are you interested in using the spec file format I invented, or do you want to use the json format?
Robin Lambertz
@roblabla
I'm very interested in the spec file format