Skip to content

Get syntax highlighting for LiveScript on GitHub #39

Closed

Description

@gkz

Need to submit a pull request to https://github.com/github/linguist

Activity

  1. paulmillr commented on Jun 20, 2012

    @paulmillr
    Contributor
  2. paulmillr commented on Jun 26, 2012

    @paulmillr
    Contributor

    @gkz today is livescript day.

    I've made pulls to:

    this how it will look like in a bit on gh

  3. gkz commented on Jun 26, 2012

    @gkz
    OwnerAuthor

    Great work! Looks awesome. Some things to add to the example:

    <[ list of words ]>
    !->
    !~>
    !-->
    !~~>
    <-!
    <-!
    

    Post when the pull request for linguist has all tests passing and I'll go +1 it and perhaps post in several places encouraging people to +1 it.

  4. paulmillr commented on Jun 26, 2012

    @paulmillr
    Contributor

    some things to add

    Done. Single regex works badly because I copied original code from coffeescript lexer and it ain't work there too.

  5. gkz commented on Jun 26, 2012

    @gkz
    OwnerAuthor

    Cool stuff!

    Just looking at http://gkz.github.com/LiveScript/#literals

    obj =
      prop: 1
      prop2: 2
    
    void 
    undefined
    yes
    no
    on
    off
    
    16~ff
    
    "The answer is #{2 + 2}"
    
    variable = "world"
    "Hello #variable"
    
    heredoc = '''
            string can be multiline 
            with newlines
            and go on and on 
            beginning whitespace is 
            ignored
    '''
    
  6. satyr commented on Jun 27, 2012

    @satyr
    Contributor

    Note that !-> isn't a single unified operator. You can write e.g.:

    $ coco -bce ':f ! -> ! :g -> x'
    (function f(){
      (function g(){
        x;
      });
    });
    
  7. paulmillr commented on Aug 11, 2012

    @paulmillr
    Contributor

    finally merged.

  8. clkao commented on Jun 20, 2013

    @clkao
    Contributor

    github seems still using an old pygments: https://github.com/g0v/hack.g0v.tw/blob/master/app/app/hub.ls is not rendering correctly

  9. apaleslimghost commented on Jun 20, 2013

    @apaleslimghost
    Contributor

    There is a problem in general with <[]> arrays.

  10. clkao commented on Jun 20, 2013

    @clkao
    Contributor

    but on pygments demo site it rendered fine.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions