glados-0.1.0.0
Stabilitystable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Parser.Expression

Description

This module handles the parsing of values and expressions using makeExprParser. It supports: - Integers, Booleans, Strings, Chars, Lists - Variables and Function calls - Operator precedence (PEMDAS, etc.)

Synopsis

Documentation

pExpr :: Parser Ast Source #

Main expression parser.

Uses makeExprParser to handle operator precedence and associativity automatically.