htcc-0.0.0.1: The full scratch implementation of tiny C compiler (x86_64)
Copyright(c) roki 2019
LicenseMIT
Maintainerfalgon53@yahoo.co.jp
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Htcc.Parser.Parsing.Global

Description

The module of the globals

Synopsis

Documentation

globalDef :: (Show i, Read i, Integral i, Bits i) => [TokenLC i] -> ATree i -> ConstructionData i -> ASTConstruction i Source #

globalDef parses global definitions (include functions and global variables) \[ \text{global-def}=\left(\text{global-var}\ \mid\ \text{function}\right)\text{*} \]