-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grammar: Add initial version of the formal grammar for the LLVM IR As…
…sembly Language.
- Loading branch information
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
all: grammar | ||
|
||
grammar: | ||
texi2pdf -q -c $@.tex | ||
|
||
clean: | ||
rm -f *.aux *.log *.out *.toc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
\documentclass[12pt, a4paper]{article} | ||
|
||
% Preamble | ||
|
||
\usepackage[utf8]{inputenc} | ||
\usepackage[english]{babel} | ||
\usepackage[margin=1in]{geometry} | ||
\usepackage[parfill]{parskip} | ||
\usepackage[hidelinks]{hyperref} | ||
\bibliographystyle{ieeetr} | ||
|
||
\title{Formal Grammar of the LLVM IR Assembly Language} | ||
\author{Robin Eklind} | ||
\date{2014-09-30} | ||
|
||
% Document | ||
|
||
\begin{document} | ||
|
||
\maketitle | ||
|
||
\pagebreak | ||
|
||
\tableofcontents | ||
|
||
\pagebreak | ||
|
||
% === [ Introduction ] ========================================================= | ||
|
||
\section{Introduction} | ||
|
||
The main purpose of this document is to specify the formal grammar of the LLVM | ||
IR Assembly Language \cite{lang_ref}. | ||
|
||
\pagebreak | ||
|
||
\bibliography{references} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@misc{lang_ref, | ||
title={{LLVM} Language Reference Manual}, | ||
note={[Online] Available: \url{http://llvm.org/docs/LangRef.html}. [Accessed: 30 Sep, 2014]}, | ||
} |