Skip to content

Instantly share code, notes, and snippets.

View loradd's full-sized avatar

Lorenzo Addazi loradd

View GitHub Profile
@loradd
loradd / XtextOperators.md
Last active July 2, 2019 12:08
Xtext - Operator Precedence and Associativity

Precedence

  Expression returns Expression: Multiplication;
  Multiplication returns Expression: Addition => ({Multiplication.left = current} '*' right = Addition)*;
  Addition returns Expression: Primary => ({Addition.left = current} '+' right = Primary)*;
  Primary returns Expression: Integer | '(' Expression ')';
  Integer returns Integer: value = INT;

Associativity

@loradd
loradd / llvm_homebrew_mojave.md
Last active January 1, 2026 21:34
LLVM Installation on MacOS Mojave using Homebrew

Installing LLVM on MacOS Mojave using Homebrew

This guide illustrates the steps required to install the latest version of LLVM on MacOS Mojave using Homebrew.

1) Install Homebrew In order to install Homebrew, simply open a terminal instance and paste the following command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"