Live data from Hacker News

Viewing profile — disnet

disnet

HN member
Joined
Wed, Jul 23, 2008, 6:47 AM UTC
HN karma
39
Public activity
18 items

About disnet

http://disnetdev.com/

Recent public activity

  1. comment
    Comment #7979532

    > I'm starting to wonder whether readtables would also allow all of TypeScript to be compiled with sweetjs. I haven't tried yet but I think all the syntax forms in TypeScript can b…

  2. comment
    Comment #7028389

    We're working on integrating macros and modules to address this. Once it's implemented you'll be able to do something like `import { m } from "macros.js"`.

  3. comment
    Comment #7028362

    Actually sweet.js just landed infix macros [1] so you can match on syntax that comes before the macro name. This just happened last week so we haven't updated the docs or made an o…

  4. comment
    Comment #5632723

    Yes indeed. Sweet.js already uses syntax objects internally so the groundwork is there for syntax-case. We "just" need to implement and surface the API :)

  5. comment
    Comment #4634192

    > The macro syntax is definitely not simple, and it could possibly get really complex for more elaborate syntactic definitions, thus rendering the source much less readable. True, …

  6. comment
    Comment #4562532

    Thanks for taking the time to write these up! I'm tracking them here [1]. The first two should be fixed and I should have the third ready soon. [1] https://github.com/mozilla/sweet…

  7. comment
    Comment #4562518

    > OK, either your description page doesn't get your point across at all, or you're missing a definition somewhere. The description page (like the rest of the project at them moment…

  8. comment
    Comment #4561467

    Yeah there are certainly a few bugs remaining in the reader :) It actually does the right thing if the function is named: a = function foo() {} /5/ 7 correctly translates to: a = f…

  9. comment
    Comment #3450863

    I've found the path of least resistance is to not change the default keybindings of the various emacs packages. Use the vi bindings for text manipulation and when you need to invok…

  10. comment
    Comment #3450684

    Yep, but I managed with viper and vimpulse [1] which give vim bindings in emacs. You can have your cake and eat it too :) [1] http://www.emacswiki.org/emacs-es/Vimpulse

  11. comment
    Comment #3193985

    Not sure if const/private are a good fit for contracts but things like "account balance is always positive" can be done right now with contracts.coffee using object invariants. For…

  12. comment
    Comment #2998177

    MozRepl can give you a JS repl in emacs tied into the browser...no refresh required: https://github.com/bard/mozrepl/wiki

  13. comment
    Comment #2940408

    I haven't done any benchmarks yet so not sure. In addition to the guards I think the use of Proxies will cause some slowdown. But you're right the JIT should be able to optimize mo…

  14. comment
    Comment #2940366

    > Indeed it would be. That said, CoffeeScript is a compiler of sorts. The fact that we have a compiler doesn't give us all that much. Adding types to a dynamic language (where thin…

  15. comment
    Comment #2940233

    Well, CoffeeScript/JavaScript doesn't have a static type system. And to add one would be...hard. But we would still like to express and enforce some invariants about our code. And …

  16. comment
    Comment #2940031

    I'm not sure that the relationship between types and contracts is all that tenuous. They both work to enforce program invariants and there's a large overlap in the invariants they …

  17. comment
    Comment #2939963

    It's a fork of CoffeeScript so it replaces your "coffee" executable. If you don't want to overwrite your normal CoffeeScript compiler just run the contracts.coffee "coffee" executa…

  18. comment
    Comment #838330

    Well, the wave people have already said they're stopping development for IE and will just be forcing the chrome frame: http://googlewavedev.blogspot.com/2009/09/google-wave-in-int.…