Add MoonScript #246

Merged
merged 3 commits into from Jan 8, 2013

Projects

None yet
@leafo
Contributor
leafo commented Aug 30, 2012

Adds MoonScript to the list of languages.

I didn't add a code sample because I can't run the script to regenerate the database because ruby pygments does not run on my system due to old version of rubypython: tmm1/pygments.rb#10

@travisbot

This pull request passes (merged 0ff50a6 into 6ec907a).

@ajacksified

Moonscript support would be super cool. 👍

@losinggeneration

Being such a simple addition, why hasn't this been merged?

@etandel
etandel commented Oct 25, 2012

There aren't many of us, but we do exist! Support for MoonScript would be awesome!

@nilnor
nilnor commented Oct 29, 2012

This would be very nice, please consider merging this!

@gotosleep

+1

@agashka
agashka commented Nov 5, 2012

This would be great.

@egonSchiele

+1

@chase
chase commented Nov 5, 2012

I would really like to see this merged!

@GriffinSchneider

👍

@fillest
fillest commented Dec 8, 2012

Yes please

@leafo
Contributor
leafo commented Jan 8, 2013

It's been 4 months since opening this. Is there anything I can do to move this along?

The pygments support is there and it already works fine in any markdown text:

class Thing
  name: "unknown"

class Person extends Thing
  say_name: => print "Hello, I am", @name

with Person!
  .name = "MoonScript"
  \say_name!

I'm not sure what is holding this back but it would be a great to have files highlighted as well.

Thanks

@egonSchiele

another +1

@ajacksified

All the +1s

@tnm
Contributor
tnm commented Jan 8, 2013

Can we get some sample files?

@leafo
Contributor
leafo commented Jan 8, 2013

Sample added, anything else?

@tnm
Contributor
tnm commented Jan 8, 2013

@leafo looks good, but you can actually drop the extra

extensions:
  - .moon

part. I'm in process of removing it from everywhere else. Then this should be good to go.

@leafo
Contributor
leafo commented Jan 8, 2013

Okay, should be set. Thanks!

@tnm
Contributor
tnm commented Jan 8, 2013

Seems fine.

@tnm tnm merged commit 1abcb2e into github:master Jan 8, 2013

1 check passed

default The Travis build passed
Details
@etandel
etandel commented Jan 8, 2013

Great! 🤘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment