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. Other Discussions
  3. The Weird and The Wonderful
  4. I might have cause to be grateful for javascript for once

I might have cause to be grateful for javascript for once

Scheduled Pinned Locked Moved The Weird and The Wonderful
javascriptcsharpdebuggingtoolsjson
3 Posts 2 Posters 10 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.
  • honey the codewitchH Offline
    honey the codewitchH Offline
    honey the codewitch
    wrote on last edited by
    #1

    I typically do not like javascript. It's not personal, it's just the language's typing system I've always found difficult to use, and overall i find the language hard to debug. But I've been wanting to find information on LL(k) parse table generation that I could digest for years, and some good folx produced an implementation in javascript which doesn't seem to use anything too weird or JS specific so I'm porting it to C#. Sure I have to debug it in chrome to fill in some of the details but they made it easy to port, and I imagine they planned it that way. What's fascinating to me about it too, is they're using a parser and lexer to parse the input grammar that looks like it was generated using a port of some common C based tools to javascript. what a weird and cool little program. LL(k) Parsing Table Generator[^]

    Real programmers use butterflies

    G 1 Reply Last reply
    0
    • honey the codewitchH honey the codewitch

      I typically do not like javascript. It's not personal, it's just the language's typing system I've always found difficult to use, and overall i find the language hard to debug. But I've been wanting to find information on LL(k) parse table generation that I could digest for years, and some good folx produced an implementation in javascript which doesn't seem to use anything too weird or JS specific so I'm porting it to C#. Sure I have to debug it in chrome to fill in some of the details but they made it easy to port, and I imagine they planned it that way. What's fascinating to me about it too, is they're using a parser and lexer to parse the input grammar that looks like it was generated using a port of some common C based tools to javascript. what a weird and cool little program. LL(k) Parsing Table Generator[^]

      Real programmers use butterflies

      G Offline
      G Offline
      GuyThiebaut
      wrote on last edited by
      #2

      It's not too difficult the other way round too - I just converted a steganography application from C# to Javascript. I tend to use React and Typescript because with Typescript you can avoid a lot of the problems vanilla Javascript can lead you into.

      “That which can be asserted without evidence, can be dismissed without evidence.”

      ― Christopher Hitchens

      honey the codewitchH 1 Reply Last reply
      0
      • G GuyThiebaut

        It's not too difficult the other way round too - I just converted a steganography application from C# to Javascript. I tend to use React and Typescript because with Typescript you can avoid a lot of the problems vanilla Javascript can lead you into.

        “That which can be asserted without evidence, can be dismissed without evidence.”

        ― Christopher Hitchens

        honey the codewitchH Offline
        honey the codewitchH Offline
        honey the codewitch
        wrote on last edited by
        #3

        Yeah I converted a splay tree from typescript to C# once to learn how it was done, and it was a joy. I didn't end up using the implementation, because it was recursive, but it taught me the concepts.

        Real programmers use butterflies

        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