Git Product home page Git Product logo

atom-language's Introduction

Atom Raku Support - »ö« Official Edition!

apm package travis

A colorful, thoughtful, and helpful language grammar for Raku! See here for questions about usage.

A screenshot of an funnified Raku file

Integration

This package has integration with the Atom script package. With both this package and the script package you can execute highlighted Raku code or the whole document, even if it hasn't been saved using a keyboard shortcut.

What Makes This The Fun Edition?

Raku is optimized for fun. ― Audrey Tang

  • This package was designed to work with Fira Code ligatures

  • Much more syntax highlighted (numbers, operators, interpolation, traits, better strings)

  • Some day we hope this package will also contain support for many popular atom packages that have service hooks like autocomplete+ and linter

See something? Say something!

See something highlighted incorrectly? See something LTA (Less Than Awesome)? Please report it on the issue tracker. Any issue no matter how small should be reported. It is our hope that this is not only the best Raku highlighter for Atom, but the best highlighter for Atom out there.

Contributing

Contributions are welcome! Please see CONTRIBUTING.md for a tutorial on writing Atom syntax grammars and more information!

Potential Future Features

Integration with Autocomplete+, linter or other packages are possible future features. See Contributing if you want to help!

How do I use this?

This language grammar should automatically highlight .raku, .rakumod, .rakutest, .rakudoc, .nqp and legacy .p6, .pod6, .pm6 files. The language grammar will also detect files whose first line includes use v6, a shebang whose last term before any whitespace is raku , =begin pod, or my class.

If you are having issues, the language-perl package is probably taking precedence. To remedy this you can:

  • Click the language name in the status-bar (Ctrl+Shift+L) and select Raku

  • If you want to permanently change the preferences for a file type, add the following to your config.cson (EditConfig):

    "*":
      core:
        customFileTypes:
          'source.raku': [
            'p6'
            'pm6'
            # Add pm and t if you want auto choose this highlighter for .pm or .t
            # files.
            'pm'
            't'
          ]

Please be aware that if you do not include the t extension above, your t files will be highlighted with the language-perl highlighter unless the first line contains use v6;.

License

MIT © All contributors

atom-language's People

Contributors

2colours avatar jj avatar madcapjake avatar samcv avatar sumanstats avatar threadless-screw avatar tyil avatar vmg avatar zoffixznet avatar zostay avatar

atom-language's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.