Skip to content

Latest commit

 

History

History
50 lines (46 loc) · 1.63 KB

README.md

File metadata and controls

50 lines (46 loc) · 1.63 KB

Github Linguist For Imba

Imba Language

Imba:
  type: programming
  color: "#16cec6"
  extensions:
  - ".imba"
  ace_mode: text
  tm_scope: source.imba
  language_id: 1057618448

Installation

Warning: This may be a massive pain.

  1. Install Docker Desktop from docker website, not from homebrew.
  2. Open Docker.
  3. Then:
    brew install cmake pkg-config icu4c
    sudo gem install bundler
    git clone https://github.com/imba/linguist.git
    cd linguist
    
  4. On an M1 Macbook Air, before running script/bootstrap, I had to run:
    bundle config build.charlock_holmes --with-icu-dir=/usr/local/opt/icu4c --with-cxxflags='-Wno-reserved-user-defined-literal -std=c++11'
    bundle config set force_ruby_platform true
    
  5. Then:
    script/bootstrap
    bundle exec rake samples
    bundle exec bin/github-linguist --breakdown
    
  6. Then add imba to end of languages.yml, omitting language_id, and:
    script/add-grammar https://github.com/imba/imba-linguist-grammar
    script/update-ids