Movatterモバイル変換


[0]ホーム

URL:


leafo.net

My projects

View more →

Recent guides

View all →

Recent posts

MoonScript v0.2.2

PostedNovember 04, 2012 by leafo (@moonscript)
Tweet

Today marksMoonScript version 0.2.2, the CoffeeScript inspiredlanguage that compiles to Lua. It’s been approximately 11 months since the lastrelease, and I'd like to apologize for the long gap. Hopefully we'll see morefrequent updates in the future.

MoonScript 0.2.2 — moonscript.org

We've got a handful of new features and fixes:

You canfollow me on twitter for updates or complaints. Also if you'reusing MoonScript I'd love to hear about it:leafot@gmail.com.

Changes

New Things

The Language

The API

The Tools

Bug Fixes

  • Significantly improved theline numberrewriter. It should nowaccurately report all line numbers.
  • Genericfor loops correctly parse for multiple values as defined in Lua.
  • Update expressions don’t fail with certain combinations of precedence.
  • All statements/expressions are allowed in a class body, not just some.
  • x = "hello" if something will extract the declaration ofx if it’s not inscope yet. Preventing an impossible to access variable from being created.
  • varargs,..., correctly bubble up through automatically generated anonymousfunctions.
  • Compiler doesn’t crash if you try to assign something that isn’t assignable.
  • Numerous other small fixes. Seecommit log.

Other Stuff

Since the past release I've written quite a bit of MoonScript. I wrote fourgames, feel free to check out the source code:

I've written atutorial for installingMoonScript on thethree main platforms, Windows, OSX, and Linux.

I've written a script and guide forrunning Lua onHeroku. Which lets us also runMoonScript. This opens up quite a few opportunities, more on that later.

Bitbucket nowhighlights MoonScriptfiles.If you'd like to see MoonScript on GitHub say something here:https://github.com/github/linguist/pull/246.

Thanks

That’s all for this release. Thanks to everyone who submitted bugs and patchesand provided feedback on GitHub. See you next release.

MoonScript 0.2.2 — moonscript.org

leafo.net · Generated Sun Oct 8 13:02:35 2023 bySitegenmastodon.social/@leafo


[8]ページ先頭

©2009-2025 Movatter.jp