6

Who the FUCK created VSCodes grammars.
They're all. Fucking. JSONs.

Comments
  • 4
    Is that a problem?
  • 2
    @JhonDoe JSON is great, I love it, don't get me wrong. But when its *2643* lines of it, I get mad. Souce: https://github.com/microsoft/...
  • 0
    Are you talking about the settings ?
  • 1
    @hatemyjob No, the syntax highlighters. To make a custom syntax highlighter, you have to "program" in JSON. see https://github.com/microsoft/...
  • 5
    @LostEth0 holy shit. I sympathise.
  • 6
    And I'm sitting here as someone who uses JSON as a basic scripting language in my custom engines .-.
  • 4
    @lxmcf U wot m8?
  • 2
    @LostEth0 it's my quick and dirty object orientated scripting language... I feel like I have now become your least favourite person haha
  • 1
    @lxmcf Hah nah, im just trying to picture it in my head, like is it an Abstract Syntax Tree or something?
  • 0
    @LostEth0 essentially, main node would be broken up into 'events'... Best way I can explain is show haha

    https://lxmcf.itch.io/json-objects

    That was version 1 as a proof of concept, have abandoned it for a tokenized version (just use the demo)
  • 0
    @lxmcf Couldn't get the demo to run, it just crashed :P

    However in the screenshots from what I can see that's far, far more tame than I expected.
  • 0
    @LostEth0 yeah that was built like 3 years ago haha

    And yeah that was a basic version, what I use it for now if a very unpleasant sight haha, 1 instance file for one of my old games was 2000+ lines of JSON (this includes variables and animations)
  • 0
    @lxmcf goddamn lmao. I mean one question tho, why not just GML, if it’s in game maker?
  • 1
    @LostEth0 main focus for me is easy to create user content, plus I use GM to build the engine and have external tools to build everything so I can build my games at runtime, performance takes a hit but makes things easier to debug and build
  • 1
    @lxmcf interesting. I only really did a little bit of GameMaker, before the forced transition to studio 2. It was how I got into game dev and eventually software dev, so I do owe it some respect
  • 1
    @LostEth0 I'm slowly moving away from it, sick of having a 20GB VM just to use GameMaker on Linux, learning C, C++ and then moving to OpenGL to start building my own in house 2D engine
  • 0
    @lxmcf wait— gamemaker lets you build to Linux... but doesn’t run ok Linux natively?
  • 1
    @LostEth0 yep... Makes so much fucking sense aye .-.

    Can't even get it running under wine because it still depends on .Net 3.5
Add Comment