1. 1

    Is this related to ur/web?

    1. 1

      No.

    1. 3

      Hard to tell from the README, I’ll need to play with it, but curious what the interop story with existing JS libs is.

      Also, it appears Urlang has immutable data structures? https://github.com/soegaard/urlang/blob/master/runtime.rkt#L1139

      1. 7

        Hi. The Urlang language is JS with a nicer syntax and the added bonus of having macros. This means that you can use existing JS libraries without any problems. As an example on how to use Raphael see https://github.com/soegaard/urlang/blob/master/browser.rkt The example also show how to dynamically add nodes to the DOM. The file you found runtime.rkt is not for the Urlang language. It is meant to be a runtime library in a different project: a Racket to JavaScript (via Urlang) compiler. Right now it is included to show how to use Urlang.

        And you are right it is not clear from the README - but since the project haven’t been “released” yet, I don’t feel too guilty :-)