All Projects → c272 → iro4cli

c272 / iro4cli

Licence: GPL-3.0 license
An open-source rewrite of Iro, a grammar generator, supporting automatic VSCode & Atom extension generation.

Programming Languages

C#
18002 projects
ANTLR
299 projects
shell
77523 projects

Projects that are alternatives of or similar to iro4cli

pymolsnips
Pymolsnips is a library of PyMOL scripting language code fragments for several popular text editors.
Stars: ✭ 19 (-9.52%)
Mutual labels:  atom, textmate
feeds
免费的公众号 RSS,支持扩展任意 APP
Stars: ✭ 912 (+4242.86%)
Mutual labels:  atom
slack-ui
A light UI theme for Atom that is inspired by Slack's Aubergine sidebar theme
Stars: ✭ 17 (-19.05%)
Mutual labels:  atom
json-to-go
将json生成go的数据结构。Online tool that convert JSON to Go.
Stars: ✭ 16 (-23.81%)
Mutual labels:  ace
mei-tools-atom
Package for the Atom text editor that provides on-the-fly music notation rendering for MEI with Verovio
Stars: ✭ 17 (-19.05%)
Mutual labels:  atom
encourage-atom
An Atom extension that adds little encouragements while you work
Stars: ✭ 24 (+14.29%)
Mutual labels:  atom
python-tools
🔧 Atom plugin which uses jedi to provide numerous tools useful for developing python code in atom.
Stars: ✭ 96 (+357.14%)
Mutual labels:  atom
JARR
JARR is a web news aggregator.
Stars: ✭ 99 (+371.43%)
Mutual labels:  atom
tern-openui5
🛠 Autocomplete for the OpenUI5 framework for your favorite code editor, powered by Tern.
Stars: ✭ 26 (+23.81%)
Mutual labels:  atom
atom-language-postcss
Atom language support for PostCSS
Stars: ✭ 55 (+161.9%)
Mutual labels:  atom
atom-ide-definitions
Definitions for Atom IDE
Stars: ✭ 26 (+23.81%)
Mutual labels:  atom
linter-glsl
Atom package that lints GLSL shaders on the fly.
Stars: ✭ 15 (-28.57%)
Mutual labels:  atom
x-terminal
An xterm based Atom plugin for providing terminals inside your Atom workspace.
Stars: ✭ 34 (+61.9%)
Mutual labels:  atom
tabnine-atom
Atom client for Tabnine - Code Faster with the All-Language AI Assistant for Code Completion, autocomplete JavaScript, Python, TypeScript, PHP, Go, Java, node.js, Ruby, C/C++, HTML/CSS, C#, Rust, SQL, Bash, Kotlin, React, Swift, Scala, Sass, Perl, Objective C, Node JS, Matlab, Haskell, Dart, Angular. https://atom.io/packages/tabnine
Stars: ✭ 33 (+57.14%)
Mutual labels:  atom
sprinkles-syntax
A sprinkled dark syntax theme with vibrant pops of colors.
Stars: ✭ 20 (-4.76%)
Mutual labels:  atom
Cake
Yummy syntax theme for Atom, Brackets, Sublime Text and Visual Studio Code
Stars: ✭ 47 (+123.81%)
Mutual labels:  atom
tool-bar
Package providing customisable toolbar for Atom
Stars: ✭ 161 (+666.67%)
Mutual labels:  atom
PlantUml-Language-Service
PlantUml Language Service extension for Visual Studio 2017 and 2019
Stars: ✭ 24 (+14.29%)
Mutual labels:  textmate
VisualTeensy
VisualCode projects for PJRC Teensy boards
Stars: ✭ 101 (+380.95%)
Mutual labels:  atom
atom-ansible-vault
Atom package to create and modify ansible-vault file
Stars: ✭ 31 (+47.62%)
Mutual labels:  atom



An open-source, CLI based rewrite of Iro by Chris Ainsley, supporting automatic VSCode extension and Atom package generation. It's an easy to use command line tool, and will bundle up a provided Iro grammar and create various different grammar targets from it, automagically generating extensions to upload to the marketplace. Some of the available targets include:

  • Textmate
  • Atom
  • Ace
  • Pygments
  • Rouge
  • Sublime 3
  • CSS

To create an Atom package and VSCode extension at the same time, you can use the following:

iro grammarFile.iro --vscode --atomext

To use the online official version of Iro, you can go to the official website. For documentation on how to create Iro grammars, check the official documentation here.

Getting Started

To get started using iro4cli, you can use one of the provided prebuilt binaries from the Releases tab on the main repository page. If one of these is not available for your chosen operating system or distribution, then you can follow the build steps below.

To build, ensure you have the .NET 6.0 SDK installed (dotnet-sdk-6.0 on apt for Ubuntu/Debian users). You will also need to install the Antlr4 v4.7.2 command line tool, and ensure it is available on PATH. Installing a newer version of the ANTLR4 command line tool or having it unavailable on PATH will result in a build error. Once these prerequisites are installed, simply run the following after cloning the repository:

dotnet build

You may need to run dotnet build twice for it to compile properly.

Usage

For all command line options available, simply run iro --help, or see the following Wiki page: https://github.com/c272/iro4cli/wiki/Command-Line-Options

For Iro grammars, an example grammar is something like the following:

name = exampleGram
file_extensions [] = exgr, exg;

styles [] {
    .example : style {
        //todo
    }
}

I highly suggest you check the official documentation for more details, however.

Progress

So far the following targets have been implemented:

  • Textmate
  • CSS
  • Ace
  • Atom
  • Pygments
  • Rouge
  • Sublime 3

Feature parity with Iro online here. Additional goals below.

  • VSCode Extension Generation
  • Atom Package Generation
  • Sublime Extension Generation
  • HighlightJS
  • ANTLR Input
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].