Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Making data notation extending another language

Making data notation extending another language

Scheduled Pinned Locked Moved Design and Architecture
asp-netjsonquestion
37 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N nedzadarek

    Well, pointing XML/JSON was off topic as well.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #28

    nedzadarek wrote:

    I want to create data notation (like JSON is used).

    So your mention of JSON in your original question was off topic?

    N 1 Reply Last reply
    0
    • N nedzadarek

      I want to create data notation (like JSON is used). 1) Is it good enough to use languages built-in features (types, notation etc), extend it (e.g. with another types), and output some JSON? 2) Or should I build it from scratch and parse all built-in features and add my additions then output it into JSON? By using 1) I don't have to implement core things. If there are fixes - then it's good. If there are changes that I don't like I can deal with them from case to case... I guess. Howerer I'm tied to a programming language - so users had to use the programming language (instead library). By using 2) I have to build everything but I'm not tied to one particular language. Maybe I can mix it ( 1) for the language, 2) for other languages). What are your toughts on this topic. ps. I was thinking about using the Red ( red-lang.org/ ). It's in alpha but I don't think it will change a lot.

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #29

      Are you looking for something like protobuf?

      Protocol Buffers  |  Google Developers[^]:

      Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      N 1 Reply Last reply
      0
      • L Lost User

        nedzadarek wrote:

        I want to create data notation (like JSON is used).

        So your mention of JSON in your original question was off topic?

        N Offline
        N Offline
        nedzadarek
        wrote on last edited by
        #30

        I don't want to waste time on your trolling.

        L 1 Reply Last reply
        0
        • N nedzadarek

          I don't want to waste time on your trolling.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #31

          How is that trolling? As I said i made a couple of suggestions which you were free to ignore. I get the distinct impression (reading your other threads above) that you only came here for a fight.

          1 Reply Last reply
          0
          • Richard DeemingR Richard Deeming

            Are you looking for something like protobuf?

            Protocol Buffers  |  Google Developers[^]:

            Protocol buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.


            "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

            N Offline
            N Offline
            nedzadarek
            wrote on last edited by
            #32

            How extensible are they? As far I can see they are at a "structure level" (I'm not sure if there is proper term for it; by "structure level" I mean extending some language with structures like in C in place of a type (joining few types together), for example (pseudocode): `qux: struct {foo: string, baz: integer}; qux new-variable = struct {foo: "***", baz: 42}`) or are they extensible at deeper level (parsing types, e.g. `new-type: <"-">; new-type new-variable = 2-3)?

            L 1 Reply Last reply
            0
            • N nedzadarek

              How extensible are they? As far I can see they are at a "structure level" (I'm not sure if there is proper term for it; by "structure level" I mean extending some language with structures like in C in place of a type (joining few types together), for example (pseudocode): `qux: struct {foo: string, baz: integer}; qux new-variable = struct {foo: "***", baz: 42}`) or are they extensible at deeper level (parsing types, e.g. `new-type: <"-">; new-type new-variable = 2-3)?

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #33

              You having trouble extending a text-format? Whatever uni you represent, I'll come take a piss on them. I'll even pay for it myself.

              Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

              Greg UtasG 1 Reply Last reply
              0
              • L Lost User

                You having trouble extending a text-format? Whatever uni you represent, I'll come take a piss on them. I'll even pay for it myself.

                Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                Greg UtasG Offline
                Greg UtasG Offline
                Greg Utas
                wrote on last edited by
                #34

                Eddy. You're Dutch, not German, so you have no business paying for scat fetishes. ;P

                Robust Services Core | Software Techniques for Lemmings | Articles

                <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                L 2 Replies Last reply
                0
                • Greg UtasG Greg Utas

                  Eddy. You're Dutch, not German, so you have no business paying for scat fetishes. ;P

                  Robust Services Core | Software Techniques for Lemmings | Articles

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #35

                  Living @500 m from Germany, dating German. Scat fetishes? The hospital threaneted with a transplant. So wanna talk shit? I got one of her books :D --edit I do. If I could, I'd shit on ya all day. Chaoshit: Amazon.co.uk: Shitonya: 9789048400065: Books[^]

                  Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                  Greg UtasG 1 Reply Last reply
                  0
                  • Greg UtasG Greg Utas

                    Eddy. You're Dutch, not German, so you have no business paying for scat fetishes. ;P

                    Robust Services Core | Software Techniques for Lemmings | Articles

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #36

                    Ping for tomorrow. Three is a crowd.

                    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                    1 Reply Last reply
                    0
                    • L Lost User

                      Living @500 m from Germany, dating German. Scat fetishes? The hospital threaneted with a transplant. So wanna talk shit? I got one of her books :D --edit I do. If I could, I'd shit on ya all day. Chaoshit: Amazon.co.uk: Shitonya: 9789048400065: Books[^]

                      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                      Greg UtasG Offline
                      Greg UtasG Offline
                      Greg Utas
                      wrote on last edited by
                      #37

                      Dating a German? Say no more! Like going to the doctor: "Open your mouth and say ahhh" :laugh:

                      Robust Services Core | Software Techniques for Lemmings | Articles

                      <p><a href="https://github.com/GregUtas/robust-services-core/blob/master/README.md">Robust Services Core</a>
                      <em>The fox knows many things, but the hedgehog knows one big thing.</em></p>

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups