Skip to content

Installation

Install Grammar School for your preferred language.

Python

pip install grammar-school

With Development Dependencies

pip install grammar-school[dev]

With Documentation Dependencies

pip install grammar-school[docs]

From Source (Development)

cd python
pip install -e ".[dev]"

Requirements

  • Python 3.9 or higher
  • lark>=1.1.0 (parsing library)

Go

Installation

cd go
go mod download

Requirements

  • Go 1.21 or higher

Using in Your Project

go get github.com/Conceptual-Machines/grammar-school/go/gs

Verification

import grammar_school
print(grammar_school.__version__)
import "grammar-school/go/gs"
// Check that package imports successfully