Skip to content

Instantly share code, notes, and snippets.

View cameronblandford's full-sized avatar
🧭
orienting

Cameron Blandford cameronblandford

🧭
orienting
View GitHub Profile
@Aerijo
Aerijo / making_language_grammar.md
Last active March 18, 2024 05:03
Guide to writing an Atom language grammar

A guide to writing a language grammar (TextMate) in Atom

Tree sitter

  • Atom is transitioning to an entirely new way of defining grammars using tree-sitter. This will be enabled by default quite soon now. It is theoretically faster and more powerful than regex based grammars (the one described in this guide), but requires a steeper learning curve. My understanding is that regex based grammars will still be supported however (at least until version 2), so this guide can still be useful. To enable it yourself, go to Settings -> Core and check Use Tree Sitter Parsers

Links for tree-sitter help:

@FutoRicky
FutoRicky / deploy-gh-pages.sh
Created June 22, 2016 05:10 — forked from chrislopresto/deploy-gh-pages.sh
Deploy Ember App to GitHub Pages
#!/usr/bin/env bash
git checkout master
git pull
rm -rf dist
ember build --environment production
git checkout gh-pages
git pull