Jason (jcreed) wrote,
Jason
jcreed

Well I nearly have a dumb little compiler that translates from a miniature ML to javascript. There are still some bugs left, since although its output on its own source code is syntactically well-formed javascript, it throws an exception very quickly if I try to use it to even parse anything.

---

Update: oh, boy, now it causes a "too much recursion" error, and I have a sneaking suspicion it's not because it uses an unbounded amount of stack, just an ungodly large amount. If I turn Venkman (the javascript debugger) on, to figure out what's going on, then all of Firefox crashes. Woo!
Tags: programming
Subscribe

  • (no subject)

    The way per-language auto-indentation works in emacs is really no small amount of black magic, apparently. Either you're lucky and you have a C-like…

  • (no subject)

    Emacs TIL* du jour: indent-rigidly (start end arg) Indent all lines starting in the region sideways by ARG columns. Called from a program, takes…

  • (no subject)

    Today I learned that C-c C-c and C-u C-c C-c are comment and uncomment region in (at least) C-mode in emacs. All these years I've been doing M-x…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 8 comments