[gogc] 2 new revisions pushed by bytbox on 2010-08-18 00:37 GMT

2 views
Skip to first unread message

go...@googlecode.com

unread,
Aug 17, 2010, 10:51:27 PM8/17/10
to go...@googlegroups.com
2 new revisions:

Revision: d6fbf9866b
Author: Michael Lippautz <michael....@gmail.com>
Date: Sun Jun 20 07:11:22 2010
Log: presentation: Add skeleton
http://code.google.com/p/gogc/source/detail?r=d6fbf9866b

Revision: f067db747a
Author: Andreas Unterweger <and...@gmx.at>
Date: Sun Jun 20 07:40:54 2010
Log: parser.go: Removed use of arrays as function parameters in order to
ha...
http://code.google.com/p/gogc/source/detail?r=f067db747a

==============================================================================
Revision: d6fbf9866b
Author: Michael Lippautz <michael....@gmail.com>
Date: Sun Jun 20 07:11:22 2010
Log: presentation: Add skeleton
http://code.google.com/p/gogc/source/detail?r=d6fbf9866b

Added:
/docs/pres/files/inspector.jpg
/docs/pres/gogo.aux
/docs/pres/gogo.log
/docs/pres/gogo.nav
/docs/pres/gogo.out
/docs/pres/gogo.pdf
/docs/pres/gogo.snm
/docs/pres/gogo.tex
/docs/pres/gogo.toc

=======================================
--- /dev/null
+++ /docs/pres/files/inspector.jpg Sun Jun 20 07:11:22 2010
Binary file, no diff available.
=======================================
--- /dev/null
+++ /docs/pres/gogo.aux Sun Jun 20 07:11:22 2010
@@ -0,0 +1,24 @@
+\relax
+\ifx\hyper@anchor\@undefined
+\global \let \oldcontentsline\contentsline
+\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
+\global \let \oldnewlabel\newlabel
+\gdef \newlabel#1#2{\newlabelxx{#1}#2}
+\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
+\AtEndDocument{\let \contentsline\oldcontentsline
+\let \newlabel\oldnewlabel}
+\else
+\global \let \hyper@last\relax
+\fi
+
+\@writefile{toc}{\beamer@endinputifotherversion {3.07pt}}
+\@writefile{nav}{\beamer@endinputifotherversion {3.07pt}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {1}{1}}}
+\@writefile{nav}{\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}}
+\@writefile{nav}{\headcommand {\beamer@framepages {2}{2}}}
+\@writefile{nav}{\headcommand {\beamer@partpages {1}{2}}}
+\@writefile{nav}{\headcommand {\beamer@subsectionpages {1}{2}}}
+\@writefile{nav}{\headcommand {\beamer@sectionpages {1}{2}}}
+\@writefile{nav}{\headcommand {\beamer@documentpages {2}}}
+\@writefile{nav}{\headcommand {\def \inserttotalframenumber {2}}}
=======================================
--- /dev/null
+++ /docs/pres/gogo.log Sun Jun 20 07:11:22 2010
@@ -0,0 +1,849 @@
+This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=pdflatex
2010.6.10) 20 JUN 2010 16:10
+entering extended mode
+ %&-line parsing enabled.
+**gogo.tex
+(./gogo.tex
+LaTeX2e <2009/09/24>
+Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
dumylang, noh
+yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, german, ngerman,
loaded.
+
+(/usr/share/texmf-site/tex/latex/beamer/base/beamer.cls
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasercs.sty
+Package: beamerbasercs 2007/01/28 (rcs-revision 1.4)
+)
+Document Class: beamer 2007/03/11 cvs version 3.07 A class for typesetting
pres
+entations (rcs-revision 1.70)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasemodes.sty
+Package: beamerbasemodes 2007/01/28 (rcs-revision 1.22)
+\beamer@tempbox=\box26
+\beamer@tempcount=\count79
+\c@beamerpauses=\count80
+
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasedecode.sty
+Package: beamerbasedecode 2007/01/28 (rcs-revision 1.20)
+\beamer@slideinframe=\count81
+\beamer@minimum=\count82
+)
+\beamer@commentbox=\box27
+\beamer@modecount=\count83
+)
+\headheight=\dimen102
+\headdp=\dimen103
+\footheight=\dimen104
+\sidebarheight=\dimen105
+\beamer@tempdim=\dimen106
+\beamer@finalheight=\dimen107
+\beamer@animht=\dimen108
+\beamer@animdp=\dimen109
+\beamer@animwd=\dimen110
+\beamer@leftmargin=\dimen111
+\beamer@rightmargin=\dimen112
+\beamer@leftsidebar=\dimen113
+\beamer@rightsidebar=\dimen114
+\beamer@boxsize=\dimen115
+\beamer@vboxoffset=\dimen116
+\beamer@descdefault=\dimen117
+\beamer@descriptionwidth=\dimen118
+\beamer@lastskip=\skip41
+\beamer@areabox=\box28
+\beamer@animcurrent=\box29
+\beamer@animshowbox=\box30
+\beamer@sectionbox=\box31
+\beamer@logobox=\box32
+\beamer@linebox=\box33
+\beamer@sectioncount=\count84
+\beamer@subsubsectionmax=\count85
+\beamer@subsectionmax=\count86
+\beamer@sectionmax=\count87
+\beamer@totalheads=\count88
+\beamer@headcounter=\count89
+\beamer@partstartpage=\count90
+\beamer@sectionstartpage=\count91
+\beamer@subsectionstartpage=\count92
+\beamer@animationtempa=\count93
+\beamer@animationtempb=\count94
+\beamer@xpos=\count95
+\beamer@ypos=\count96
+\beamer@showpartnumber=\count97
+\beamer@currentsubsection=\count98
+\beamer@coveringdepth=\count99
+\beamer@sectionadjust=\count100
+\beamer@tocsectionnumber=\count101
+
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseoptions.sty
+Package: beamerbaseoptions 2007/01/28 (rcs-revision 1.8)
+
+(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
+Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
+\KV@toks@=\toks14
+))
+(/usr/share/texmf-site/tex/latex/pgf/basiclayer/pgfcore.sty
+(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
+Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
+
+(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
+Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)
+
+(/usr/share/texmf-dist/tex/latex/graphics/trig.sty
+Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
+)
+(/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg
+File: graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live
+)
+Package graphics Info: Driver file: pdftex.def on input line 91.
+
+(/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
+File: pdftex.def 2009/08/25 v0.04m Graphics/color for pdfTeX
+\Gread@gobject=\count102
+))
+\Gin@req@height=\dimen119
+\Gin@req@width=\dimen120
+)
+(/usr/share/texmf-site/tex/latex/pgf/systemlayer/pgfsys.sty
+(/usr/share/texmf-site/tex/latex/pgf/utilities/pgfrcs.sty
+(/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-common.tex
+\pgfutil@everybye=\toks15
+)
+(/usr/share/texmf-site/tex/generic/pgf/utilities/pgfutil-latex.def)
+(/usr/share/texmf-site/tex/generic/pgf/utilities/pgfrcs.code.tex
+Package: pgfrcs 2008/02/20 v2.00 (rcs-revision 1.21)
+))
+(/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys.code.tex
+Package: pgfsys 2008/02/07 v2.00 (rcs-revision 1.31)
+
+(/usr/share/texmf-site/tex/generic/pgf/utilities/pgfkeys.code.tex
+\pgfkeys@pathtoks=\toks16
+\pgfkeys@temptoks=\toks17
+)
+\pgf@x=\dimen121
+\pgf@y=\dimen122
+\pgf@xa=\dimen123
+\pgf@ya=\dimen124
+\pgf@xb=\dimen125
+\pgf@yb=\dimen126
+\pgf@xc=\dimen127
+\pgf@yc=\dimen128
+\c@pgf@counta=\count103
+\c@pgf@countb=\count104
+\c@pgf@countc=\count105
+\c@pgf@countd=\count106
+
+(/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgf.cfg
+File: pgf.cfg 2008/01/13 (rcs-revision 1.6)
+)
+Package pgfsys Info: Driver file for pgf: pgfsys-pdftex.def on input line
885.
+
+(/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
+File: pgfsys-pdftex.def 2007/12/20 (rcs-revision 1.20)
+
+(/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsys-common-pdf.def
+File: pgfsys-common-pdf.def 2007/12/17 (rcs-revision 1.8)
+)))
+(/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
+File: pgfsyssoftpath.code.tex 2008/01/23 (rcs-revision 1.6)
+\pgfsyssoftpath@smallbuffer@items=\count107
+\pgfsyssoftpath@bigbuffer@items=\count108
+)
+(/usr/share/texmf-site/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
+File: pgfsysprotocol.code.tex 2006/10/16 (rcs-revision 1.4)
+))
+(/usr/share/texmf-site/tex/latex/xcolor/xcolor.sty
+Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)
+
+(/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg
+File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
+)
+Package xcolor Info: Driver file: pdftex.def on input line 225.
+Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
+Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
+Package xcolor Info: Model `RGB' extended on input line 1353.
+Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
+Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
+Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
+Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
+Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
+Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcore.code.tex
+Package: pgfcore 2008/01/15 v2.00 (rcs-revision 1.6)
+
+(/usr/share/texmf-site/tex/generic/pgf/math/pgfmath.code.tex
+(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathcalc.code.tex
+(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathutil.code.tex
+\pgfmath@box=\box34
+)
+(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathparser.code.tex
+\pgfmath@stack=\toks18
+\c@pgfmath@parsecounta=\count109
+\c@pgfmath@parsecountb=\count110
+\c@pgfmath@parsecountc=\count111
+\pgfmath@parsex=\dimen129
+)
+(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathoperations.code.tex
+(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathtrig.code.tex)
+(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathrnd.code.tex))
+(/usr/share/texmf-site/tex/generic/pgf/math/pgfmathbase.code.tex)))
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
+File: pgfcorepoints.code.tex 2008/02/03 (rcs-revision 1.13)
+\pgf@picminx=\dimen130
+\pgf@picmaxx=\dimen131
+\pgf@picminy=\dimen132
+\pgf@picmaxy=\dimen133
+\pgf@pathminx=\dimen134
+\pgf@pathmaxx=\dimen135
+\pgf@pathminy=\dimen136
+\pgf@pathmaxy=\dimen137
+\pgf@xx=\dimen138
+\pgf@xy=\dimen139
+\pgf@yx=\dimen140
+\pgf@yy=\dimen141
+\pgf@zx=\dimen142
+\pgf@zy=\dimen143
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex
+File: pgfcorepathconstruct.code.tex 2008/02/13 (rcs-revision 1.14)
+\pgf@path@lastx=\dimen144
+\pgf@path@lasty=\dimen145
+)
(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
+File: pgfcorepathusage.code.tex 2008/01/23 (rcs-revision 1.11)
+\pgf@shorten@end@additional=\dimen146
+\pgf@shorten@start@additional=\dimen147
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
+File: pgfcorescopes.code.tex 2008/01/15 (rcs-revision 1.26)
+\pgfpic=\box35
+\pgf@hbox=\box36
+\pgf@layerbox@main=\box37
+\pgf@picture@serial@count=\count112
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
+File: pgfcoregraphicstate.code.tex 2007/12/12 (rcs-revision 1.8)
+\pgflinewidth=\dimen148
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoretransformations.code.t
+ex
+File: pgfcoretransformations.code.tex 2008/02/04 (rcs-revision 1.10)
+\pgf@pt@x=\dimen149
+\pgf@pt@y=\dimen150
+\pgf@pt@temp=\dimen151
+) (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
+File: pgfcorequick.code.tex 2006/10/11 (rcs-revision 1.2)
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
+File: pgfcoreobjects.code.tex 2006/10/11 (rcs-revision 1.2)
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.te
+x
+File: pgfcorepathprocessing.code.tex 2008/01/23 (rcs-revision 1.7)
+) (/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
+File: pgfcorearrows.code.tex 2007/06/07 (rcs-revision 1.8)
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
+File: pgfcoreshade.code.tex 2007/12/10 (rcs-revision 1.9)
+\pgf@max=\dimen152
+\pgf@sys@shading@range@num=\count113
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
+File: pgfcoreimage.code.tex 2008/01/15 (rcs-revision 1.1)
+\pgfexternal@startupbox=\box38
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
+File: pgfcorelayers.code.tex 2008/01/15 (rcs-revision 1.1)
+)
+(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
+File: pgfcoretransparency.code.tex 2008/01/17 (rcs-revision 1.2)
+)
(/usr/share/texmf-site/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
+File: pgfcorepatterns.code.tex 2008/01/15 (rcs-revision 1.1)
+)))
+(/usr/share/texmf-site/tex/latex/pgf/basiclayer/pgfbaseimage.sty
+
+Package pgf Warning: This package is obsolete and no longer needed on
input lin
+e 13.
+
+) (/usr/share/texmf-site/tex/latex/pgf/utilities/xxcolor.sty
+Package: xxcolor 2003/10/24 ver 0.1
+\XC@nummixins=\count114
+\XC@countmixins=\count115
+)
+(/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
+Package: amssymb 2009/06/22 v3.00
+
+(/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty
+Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
+\@emptytoks=\toks19
+\symAMSa=\mathgroup4
+\symAMSb=\mathgroup5
+LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold'
+(Font) U/euf/m/n --> U/euf/b/n on input line 96.
+))
+(/usr/share/texmf-dist/tex/latex/geometry/geometry.sty
+Package: geometry 2008/12/21 v4.2 Page Geometry
+
+(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty
+Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO)
+Package ifpdf Info: pdfTeX in pdf mode detected.
+)
+(/usr/share/texmf-dist/tex/generic/oberdiek/ifvtex.sty
+Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its modes
(HO)
+Package ifvtex Info: VTeX not detected.
+)
+\Gm@cnth=\count116
+\Gm@cntv=\count117
+\c@Gm@tempcnt=\count118
+\Gm@bindingoffset=\dimen153
+\Gm@wd@mp=\dimen154
+\Gm@odd@mp=\dimen155
+\Gm@even@mp=\dimen156
+\Gm@dimlist=\toks20
+)
+(/usr/share/texmf-dist/tex/latex/hyperref/hyperref.sty
+Package: hyperref 2009/12/28 v6.79z Hypertext links for LaTeX
+
+(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty
+Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
+)
+(/usr/share/texmf-dist/tex/latex/oberdiek/hycolor.sty
+Package: hycolor 2009/12/12 v1.6 Color options of hyperref/bookmark (HO)
+
+(/usr/share/texmf-dist/tex/latex/oberdiek/xcolor-patch.sty
+Package: xcolor-patch 2009/12/12 xcolor patch
+))
+\@linkdim=\dimen157
+\Hy@linkcounter=\count119
+\Hy@pagecounter=\count120
+
+(/usr/share/texmf-dist/tex/latex/hyperref/pd1enc.def
+File: pd1enc.def 2009/12/28 v6.79z Hyperref: PDFDocEncoding definition (HO)
+)
+(/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
+Package: pdftexcmds 2009/12/12 v0.7 Utility functions of pdfTeX for LuaTeX
(HO)
+
+
+(/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty
+Package: infwarerr 2007/09/09 v1.2 Providing info/warning/message (HO)
+)
+(/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty
+Package: ifluatex 2009/04/17 v1.2 Provides the ifluatex switch (HO)
+Package ifluatex Info: LuaTeX not detected.
+)
+(/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
+Package: ltxcmds 2009/12/12 v1.1 LaTeX kernel commands for general use (HO)
+)
+Package pdftexcmds Info: LuaTeX not detected.
+Package pdftexcmds Info: \pdf@primitive is available.
+Package pdftexcmds Info: \pdf@ifprimitive is available.
+)
+(/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty
+Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO)
+Package etexcmds Info: Could not find \expanded.
+(etexcmds) That can mean that you are not using pdfTeX 1.50 or
+(etexcmds) that some package has redefined \expanded.
+(etexcmds) In the latter case, load this package earlier.
+)
+(/usr/share/texmf-dist/tex/generic/oberdiek/intcalc.sty
+Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
+)
+(/usr/share/texmf-dist/tex/latex/latexconfig/hyperref.cfg
+File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
+)
+(/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+Package: kvoptions 2009/12/08 v3.6 Keyval support for LaTeX options (HO)
+
+(/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
+Package: kvsetkeys 2009/12/22 v1.7 Key value parser (HO)
+))
+Package hyperref Info: Option `bookmarks' set `true' on input line 3076.
+Package hyperref Info: Option `bookmarksopen' set `true' on input line
3076.
+Package hyperref Info: Option `implicit' set `false' on input line 3076.
+Package hyperref Info: Hyper figures OFF on input line 3157.
+Package hyperref Info: Link nesting OFF on input line 3162.
+Package hyperref Info: Hyper index ON on input line 3165.
+Package hyperref Info: Plain pages OFF on input line 3172.
+Package hyperref Info: Backreferencing OFF on input line 3177.
+
+Implicit mode OFF; no redefinition of LaTeX internals
+Package hyperref Info: Bookmarks ON on input line 3373.
+(/usr/share/texmf-dist/tex/latex/ltxmisc/url.sty
+\Urlmuskip=\muskip10
+Package: url 2006/04/12 ver 3.3 Verb mode for urls, etc.
+)
+LaTeX Info: Redefining \url on input line 3610.
+
+(/usr/share/texmf-dist/tex/generic/oberdiek/bitset.sty
+Package: bitset 2007/09/28 v1.0 Data type bit set (HO)
+
+(/usr/share/texmf-dist/tex/generic/oberdiek/bigintcalc.sty
+Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations
(HO)
+))
+\Fld@menulength=\count121
+\Field@Width=\dimen158
+\Fld@charsize=\dimen159
+\Field@toks=\toks21
+Package hyperref Info: Hyper figures OFF on input line 4570.
+Package hyperref Info: Link nesting OFF on input line 4575.
+Package hyperref Info: Hyper index ON on input line 4578.
+Package hyperref Info: backreferencing OFF on input line 4585.
+Package hyperref Info: Link coloring OFF on input line 4590.
+Package hyperref Info: Link coloring with OCG OFF on input line 4595.
+Package hyperref Info: PDF/A mode OFF on input line 4600.
+
+(/usr/share/texmf-dist/tex/generic/oberdiek/atbegshi.sty
+Package: atbegshi 2009/12/02 v1.10 At begin shipout hook (HO)
+)
+
+Package hyperref Warning: Option `pdfpagelabels' is turned off
+(hyperref) because \thepage is undefined.
+
+Hyperref stopped early
+)
+*hyperref using default driver hpdftex*
+(/usr/share/texmf-dist/tex/latex/hyperref/hpdftex.def
+File: hpdftex.def 2009/12/28 v6.79z Hyperref driver for pdfTeX
+\Fld@listcount=\count122
+\c@bookmark@seq@number=\count123
+
+(/usr/share/texmf-dist/tex/generic/oberdiek/rerunfilecheck.sty
+Package: rerunfilecheck 2009/12/18 v1.2 Rerun checks for auxiliary files
(HO)
+
+(/usr/share/texmf-dist/tex/generic/oberdiek/atveryend.sty
+Package: atveryend 2009/12/11 v1.3 Hooks at very end of document (HO)
+Package atveryend Info: \enddocument detected (standard).
+)
+(/usr/share/texmf-dist/tex/generic/oberdiek/uniquecounter.sty
+Package: uniquecounter 2009/12/18 v1.1 Provides unlimited unique counter
(HO)
+)
+Package uniquecounter Info: New unique counter `rerunfilecheck' on input
line 3
+26.
+))
+(/usr/share/texmf-dist/tex/latex/base/size11.clo
+File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasecompatibility.sty
+Package: beamerbasecompatibility 2007/01/28 (rcs-revision 1.63)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasefont.sty
+Package: beamerbasefont 2007/01/28 (rcs-revision 1.16)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasemisc.sty
+Package: beamerbasemisc 2007/01/28 (rcs-revision 1.24)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasetwoscreens.sty
+Package: beamerbasetwoscreens 2007/01/28 (rcs-revision 1.7)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseoverlay.sty
+Package: beamerbaseoverlay 2007/01/28 (rcs-revision 1.50)
+\beamer@argscount=\count124
+\beamer@lastskipcover=\skip42
+\beamer@trivlistdepth=\count125
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasetitle.sty
+Package: beamerbasetitle 2007/01/28 (rcs-revision 1.25)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasesection.sty
+Package: beamerbasesection 2007/01/28 (rcs-revision 1.21)
+\c@lecture=\count126
+\c@part=\count127
+\c@section=\count128
+\c@subsection=\count129
+\c@subsubsection=\count130
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseframe.sty
+Package: beamerbaseframe 2007/01/28 (rcs-revision 1.60)
+\beamer@framebox=\box39
+\beamer@frametitlebox=\box40
+\beamer@zoombox=\box41
+\beamer@zoomcount=\count131
+\beamer@zoomframecount=\count132
+\beamer@frametextheight=\dimen160
+\c@subsectionslide=\count133
+\beamer@frametopskip=\skip43
+\beamer@framebottomskip=\skip44
+\beamer@frametopskipautobreak=\skip45
+\beamer@framebottomskipautobreak=\skip46
+\beamer@envbody=\toks22
+\c@framenumber=\count134
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseverbatim.sty
+Package: beamerbaseverbatim 2007/01/28 (rcs-revision 1.8)
+\beamer@verbatimfileout=\write3
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseframesize.sty
+Package: beamerbaseframesize 2007/01/28 (rcs-revision 1.18)
+\beamer@splitbox=\box42
+\beamer@autobreakcount=\count135
+\beamer@autobreaklastheight=\dimen161
+\beamer@frametitletoks=\toks23
+\beamer@framesubtitletoks=\toks24
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseframecomponents.sty
+Package: beamerbaseframecomponents 2007/01/28 (rcs-revision 1.41)
+\beamer@footins=\box43
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasecolor.sty
+Package: beamerbasecolor 2007/01/28 (rcs-revision 1.42)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasenotes.sty
+Package: beamerbasenotes 2007/01/28 (rcs-revision 1.23)
+\beamer@frameboxcopy=\box44
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasetoc.sty
+Package: beamerbasetoc 2007/01/28 (rcs-revision 1.21)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasetemplates.sty
+Package: beamerbasetemplates 2007/01/28 (rcs-revision 1.51)
+\beamer@sbttoks=\toks25
+
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseauxtemplates.sty
+Package: beamerbaseauxtemplates 2007/01/28 (rcs-revision 1.28)
+
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaseboxes.sty
+Package: beamerbaseboxes 2007/03/11 (rcs-revision 1.32)
+\bmb@box=\box45
+\bmb@colorbox=\box46
+\bmb@boxshadow=\box47
+\bmb@boxshadowball=\box48
+\bmb@boxshadowballlarge=\box49
+\bmb@temp=\dimen162
+\bmb@dima=\dimen163
+\bmb@dimb=\dimen164
+\bmb@prevheight=\dimen165
+)
+\beamer@blockheadheight=\dimen166
+))
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbaselocalstructure.sty
+Package: beamerbaselocalstructure 2007/01/28 (rcs-revision 1.53)
+
+(/usr/share/texmf-dist/tex/latex/tools/enumerate.sty
+Package: enumerate 1999/03/05 v3.00 enumerate extensions (DPC)
+\@enLab=\toks26
+)
+\c@figure=\count136
+\c@table=\count137
+\abovecaptionskip=\skip47
+\belowcaptionskip=\skip48
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasenavigation.sty
+Package: beamerbasenavigation 2007/01/28 (rcs-revision 1.36)
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasetheorems.sty
+Package: beamerbasetheorems 2007/01/28 (rcs-revision 1.10)
+
+(/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty
+Package: amsmath 2000/07/18 v2.13 AMS math features
+\@mathmargin=\skip49
+
+For additional information on amsmath, use the `?' option.
+(/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty
+Package: amstext 2000/06/29 v2.01
+
+(/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty
+File: amsgen.sty 1999/11/30 v2.0
+\@emptytoks=\toks27
+\ex@=\dimen167
+))
+(/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty
+Package: amsbsy 1999/11/29 v1.2d
+\pmbraise@=\dimen168
+)
+(/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty
+Package: amsopn 1999/12/14 v2.01 operator names
+)
+\inf@bad=\count138
+LaTeX Info: Redefining \frac on input line 211.
+\uproot@=\count139
+\leftroot@=\count140
+LaTeX Info: Redefining \overline on input line 307.
+\classnum@=\count141
+\DOTSCASE@=\count142
+LaTeX Info: Redefining \ldots on input line 379.
+LaTeX Info: Redefining \dots on input line 382.
+LaTeX Info: Redefining \cdots on input line 467.
+\Mathstrutbox@=\box50
+\strutbox@=\box51
+\big@size=\dimen169
+LaTeX Font Info: Redeclaring font encoding OML on input line 567.
+LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
+\macc@depth=\count143
+\c@MaxMatrixCols=\count144
+\dotsspace@=\muskip11
+\c@parentequation=\count145
+\dspbrk@lvl=\count146
+\tag@help=\toks28
+\row@=\count147
+\column@=\count148
+\maxfields@=\count149
+\andhelp@=\toks29
+\eqnshift@=\dimen170
+\alignsep@=\dimen171
+\tagshift@=\dimen172
+\tagwidth@=\dimen173
+\totwidth@=\dimen174
+\lineht@=\dimen175
+\@envbody=\toks30
+\multlinegap=\skip50
+\multlinetaggap=\skip51
+\mathdisplay@stack=\toks31
+LaTeX Info: Redefining \[ on input line 2666.
+LaTeX Info: Redefining \] on input line 2667.
+)
+(/usr/share/texmf-dist/tex/latex/amscls/amsthm.sty
+Package: amsthm 2004/08/06 v2.20
+\thm@style=\toks32
+\thm@bodyfont=\toks33
+\thm@headfont=\toks34
+\thm@notefont=\toks35
+\thm@headpunct=\toks36
+\thm@preskip=\skip52
+\thm@postskip=\skip53
+\thm@headsep=\skip54
+\dth@everypar=\toks37
+)
+\c@theorem=\count150
+)
+(/usr/share/texmf-site/tex/latex/beamer/base/beamerbasethemes.sty
+Package: beamerbasethemes 2007/01/28 (rcs-revision 1.10)
+)
+(/usr/share/texmf-site/tex/latex/beamer/themes/theme/beamerthemedefault.sty
+Package: beamerthemedefault 2007/01/28 (rcs-revision 1.7)
+
+(/usr/share/texmf-site/tex/latex/beamer/themes/font/beamerfontthemedefault.sty
+Package: beamerfontthemedefault 2007/01/28 (rcs-revision 1.13)
+)
+(/usr/share/texmf-site/tex/latex/beamer/themes/color/beamercolorthemedefault.st
+y
+Package: beamercolorthemedefault 2007/01/28 (rcs-revision 1.28)
+)
+(/usr/share/texmf-site/tex/latex/beamer/themes/inner/beamerinnerthemedefault.st
+y
+Package: beamerinnerthemedefault 2007/01/28 (rcs-revision 1.20)
+\beamer@dima=\dimen176
+\beamer@dimb=\dimen177
+)
+(/usr/share/texmf-site/tex/latex/beamer/themes/outer/beamerouterthemedefault.st
+y
+Package: beamerouterthemedefault 2007/01/28 (rcs-revision 1.14)
+))) (/usr/share/texmf-dist/tex/latex/listings/listings.sty
+\lst@mode=\count151
+\lst@gtempboxa=\box52
+\lst@token=\toks38
+\lst@length=\count152
+\lst@currlwidth=\dimen178
+\lst@column=\count153
+\lst@pos=\count154
+\lst@lostspace=\dimen179
+\lst@width=\dimen180
+\lst@newlines=\count155
+\lst@lineno=\count156
+\lst@maxwidth=\dimen181
+
+(/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty
+File: lstmisc.sty 2007/02/22 1.4 (Carsten Heinz)
+\c@lstnumber=\count157
+\lst@skipnumbers=\count158
+\lst@framebox=\box53
+)
+(/usr/share/texmf-dist/tex/latex/listings/listings.cfg
+File: listings.cfg 2007/02/22 1.4 listings configuration
+))
+Package: listings 2007/02/22 1.4 (Carsten Heinz)
+
+(/usr/share/texmf-dist/tex/latex/listings/lstlang1.sty
+File: lstlang1.sty 2004/09/05 1.3 listings language file
+)
+(/usr/share/texmf-site/tex/latex/beamer/themes/theme/beamerthemeSingapore.sty
+Package: beamerthemeSingapore 2007/01/28 (rcs-revision 1.10)
+
+(/usr/share/texmf-site/tex/latex/beamer/themes/outer/beamerouterthememiniframes
+.sty
+Package: beamerouterthememiniframes 2007/01/28 (rcs-revision 1.8)
+)) (./gogo.aux)
+\openout1 = `gogo.aux'.
+
+LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 16.
+LaTeX Font Info: ... okay on input line 16.
+ (/usr/share/texmf-dist/tex/context/base/supp-pdf.mkii
+[Loading MPS to PDF converter (version 2006.09.02).]
+\scratchcounter=\count159
+\scratchdimen=\dimen182
+\scratchbox=\box54
+\nofMPsegments=\count160
+\nofMParguments=\count161
+\everyMPshowfont=\toks39
+\MPscratchCnt=\count162
+\MPscratchDim=\dimen183
+\MPnumerator=\count163
+\everyMPtoPDFconversion=\toks40
+)
+*geometry auto-detecting driver*
+*geometry detected driver: pdftex*
+-------------------- Geometry parameters
+paper: user defined
+landscape: --
+twocolumn: --
+twoside: --
+asymmetric: --
+h-parts: 28.45274pt, 307.28987pt, 28.45274pt
+v-parts: 0.0pt, 273.14662pt, 0.0pt
+hmarginratio: --
+vmarginratio: --
+lines: --
+heightrounded: --
+bindingoffset: 0.0pt
+truedimen: --
+includehead: true
+includefoot: true
+includemp: --
+driver: pdftex
+-------------------- Page layout dimensions and switches
+\paperwidth 364.19536pt
+\paperheight 273.14662pt
+\textwidth 307.28987pt
+\textheight 244.6939pt
+\oddsidemargin -43.81725pt
+\evensidemargin -43.81725pt
+\topmargin -72.26999pt
+\headheight 14.22636pt
+\headsep 0.0pt
+\footskip 14.22636pt
+\marginparwidth 4.0pt
+\marginparsep 10.0pt
+\columnsep 10.0pt
+\skip\footins 10.0pt plus 4.0pt minus 2.0pt
+\hoffset 0.0pt
+\voffset 0.0pt
+\mag 1000
+
+(1in=72.27pt, 1cm=28.45pt)
+-----------------------
+Package hyperref Info: Link coloring OFF on input line 16.
+(/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty
+Package: nameref 2009/12/18 v2.35 Cross-referencing by name of section
+
+(/usr/share/texmf-dist/tex/latex/oberdiek/refcount.sty
+Package: refcount 2008/08/11 v3.1 Data extraction from references (HO)
+)
+(/usr/share/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
+Package: gettitlestring 2009/12/18 v1.3 Cleanup title references (HO)
+)
+\c@section@level=\count164
+)
+LaTeX Info: Redefining \ref on input line 16.
+LaTeX Info: Redefining \pageref on input line 16.
+ (./gogo.out)
+(./gogo.out)
+\@outlinefile=\write4
+\openout4 = `gogo.out'.
+
+\AtBeginShipoutBox=\box55
+LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
+(Font) OT1/cmr/m/n --> OT1/cmss/m/n on input line 16.
+LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
+(Font) OT1/cmr/bx/n --> OT1/cmss/bx/n on input line 16.
+\symnumbers=\mathgroup6
+\sympureletters=\mathgroup7
+LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
+(Font) OT1/cmss/m/n --> OT1/cmr/m/n on input line 16.
+LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
+(Font) OT1/cmr/bx/n --> OT1/cmss/bx/n on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
+(Font) OT1/cmr/bx/n --> OT1/cmss/bx/n on input line 16.
+LaTeX Font Info: Redeclaring math alphabet \mathsf on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
+(Font) OT1/cmss/m/n --> OT1/cmss/m/n on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
+(Font) OT1/cmss/bx/n --> OT1/cmss/m/n on input line 16.
+LaTeX Font Info: Redeclaring math alphabet \mathit on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
+(Font) OT1/cmr/m/it --> OT1/cmss/m/it on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
+(Font) OT1/cmr/bx/it --> OT1/cmss/m/it on input line 16.
+LaTeX Font Info: Redeclaring math alphabet \mathtt on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
+(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
+(Font) OT1/cmtt/m/n --> OT1/cmtt/m/n on input line 16.
+LaTeX Font Info: Overwriting symbol font `numbers' in version `bold'
+(Font) OT1/cmss/m/n --> OT1/cmss/bx/n on input line 16.
+LaTeX Font Info: Overwriting symbol font `pureletters' in version `bold'
+(Font) OT1/cmss/m/it --> OT1/cmss/bx/it on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
+(Font) OT1/cmss/bx/n --> OT1/cmr/bx/n on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
+(Font) OT1/cmss/bx/n --> OT1/cmss/bx/n on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
+(Font) OT1/cmss/m/n --> OT1/cmss/bx/n on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
+(Font) OT1/cmss/m/it --> OT1/cmss/bx/it on input line 16.
+LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
+(Font) OT1/cmtt/m/n --> OT1/cmtt/bx/n on input line 16.
+\c@lstlisting=\count165
+ (./gogo.nav)
+
+Package hyperref Warning: Option `pdfauthor' has already been used,
+(hyperref) setting the option has no effect on input line
20.
+
+<files/inspector.jpg, id=11, 173.64874pt x 200.75pt>
+File: files/inspector.jpg Graphic file (type jpg)
+ <use files/inspector.jpg>
+
+LaTeX Font Warning: Font shape `OT1/cmss/m/n' in size <4> not available
+(Font) size <5> substituted on input line 24.
+
+[1
+
+{//var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}
<./files/inspector.jpg>] (
+./gogo.toc) [2
+
+]
+\tf@nav=\write5
+\openout5 = `gogo.nav'.
+
+\tf@toc=\write6
+\openout6 = `gogo.toc'.
+
+\tf@snm=\write7
+\openout7 = `gogo.snm'.
+
+Package atveryend Info: Empty hook `BeforeClearDocument' on input line 30.
+Package atveryend Info: Empty hook `AfterLastShipout' on input line 30.
+ (./gogo.aux)
+Package atveryend Info: Executing hook `AtVeryEndDocument' on input line
30.
+Package rerunfilecheck Info: File `gogo.out' has not changed.
+(rerunfilecheck) Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
+
+
+LaTeX Font Warning: Size substitutions with differences
+(Font) up to 1.0pt have occurred.
+
+ )
+Here is how much of TeX's memory you used:
+ 13722 strings out of 495021
+ 239317 string characters out of 3181320
+ 342839 words of memory out of 3000000
+ 16580 multiletter control sequences out of 15000+200000
+ 5746 words of font info for 21 fonts, out of 3000000 for 9000
+ 28 hyphenation exceptions out of 8191
+ 41i,15n,51p,312b,531s stack positions out of
5000i,500n,10000p,200000b,50000s
+</usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmss10.pfb></usr/share/
+texmf-dist/fonts/type1/public/amsfonts/cm/cmss12.pfb></usr/share/texmf-dist/fon
+ts/type1/public/amsfonts/cm/cmss8.pfb></usr/share/texmf-dist/fonts/type1/public
+/amsfonts/cm/cmssbx10.pfb>
+Output written on gogo.pdf (2 pages, 64071 bytes).
+PDF statistics:
+ 83 PDF objects out of 1000 (max. 8388607)
+ 5 named destinations out of 1000 (max. 500000)
+ 44 words of extra memory for PDF output out of 10000 (max. 10000000)
+
=======================================
--- /dev/null
+++ /docs/pres/gogo.nav Sun Jun 20 07:11:22 2010
@@ -0,0 +1,10 @@
+\beamer@endinputifotherversion {3.07pt}
+\headcommand {\slideentry {0}{0}{1}{1/1}{}{0}}
+\headcommand {\beamer@framepages {1}{1}}
+\headcommand {\slideentry {0}{0}{2}{2/2}{}{0}}
+\headcommand {\beamer@framepages {2}{2}}
+\headcommand {\beamer@partpages {1}{2}}
+\headcommand {\beamer@subsectionpages {1}{2}}
+\headcommand {\beamer@sectionpages {1}{2}}
+\headcommand {\beamer@documentpages {2}}
+\headcommand {\def \inserttotalframenumber {2}}
=======================================
--- /dev/null
+++ /docs/pres/gogo.pdf Sun Jun 20 07:11:22 2010
Binary file, no diff available.
=======================================
--- /dev/null
+++ /docs/pres/gogo.tex Sun Jun 20 07:11:22 2010
@@ -0,0 +1,31 @@
+\documentclass{beamer}
+
+\usepackage{color}
+\usepackage{listings}
+
+\definecolor{lightgray}{RGB}{250,250,250}
+\lstset{
+ language=Java,
+ basicstyle=\tiny,
+ frame=lines,
+ backgroundcolor=\color{lightgray}
+}
+
+\usetheme{Singapore}
+
+\begin{document}
+
+\title{\hspace{1.8cm}\textbf{GoGo}
\includegraphics[scale=0.3]{files/inspector.jpg}}
+\subtitle{A Go compiler written in Go \tiny{(... and asm)}}
+\author{Michael~Lippautz \and Andreas~Unterweger}
+\date{June 24, 2010}
+\institute{Compiler Construction Course, Summer 2010}
+
+\frame{\titlepage}
+
+\frame{\frametitle{Contents}
+ \tableofcontents
+}
+
+\end{document}
+
=======================================
--- /dev/null
+++ /docs/pres/gogo.toc Sun Jun 20 07:11:22 2010
@@ -0,0 +1,1 @@
+\beamer@endinputifotherversion {3.07pt}

==============================================================================
Revision: f067db747a
Author: Andreas Unterweger <and...@gmx.at>
Date: Sun Jun 20 07:40:54 2010
Log: parser.go: Removed use of arrays as function parameters in order to
have a better chance to be SC
http://code.google.com/p/gogc/source/detail?r=f067db747a

Modified:
/src/parse-utils.go
/src/parser.go
/src/utils.go

=======================================
--- /src/parse-utils.go Sat May 29 15:30:46 2010
+++ /src/parse-utils.go Sun Jun 20 07:40:54 2010
@@ -50,11 +50,9 @@
}

func AssertNextTokenWeak(tokenNumber uint64) {
- var expectedTokens [2]uint64;
GetNextTokenSafe();
if tok.id != tokenNumber {
- expectedTokens[0] = tokenNumber;
- ParseErrorWeak(tok.id, expectedTokens, 1);
+ ParseErrorWeak(tok.id, tokenNumber, 0, 1);
tok.nextToken = tok.id;
}
}
@@ -71,10 +69,8 @@
// Asserts an already read token. (no GetNextToken() before the check)
//
func AssertToken(tokenNumber uint64) {
- var expectedTokens [2]uint64;
if tok.id != tokenNumber {
- expectedTokens[0] = tokenNumber;
- ParseErrorWeak(tok.id, expectedTokens, 1);
+ ParseErrorWeak(tok.id, tokenNumber, 0, 1);
//tok.nextToken = tok.id;
ParserSync();
}
=======================================
--- /src/parser.go Sun Jun 20 06:22:42 2010
+++ /src/parser.go Sun Jun 20 07:40:54 2010
@@ -530,7 +530,6 @@
func ParseFactor(item *libgogo.Item, ed *ExpressionDescriptor) uint64 {
var doneFlag uint64 = 1;
var boolFlag uint64;
- var es [2]uint64;

GetNextTokenSafe();
if (doneFlag == 1) && (tok.id == TOKEN_IDENTIFIER) {
@@ -569,7 +568,7 @@
boolFlag = 1;
tok.nextToken = tok.id;
// Fix (?) empty factor, which should not be possible.
- ParseErrorWeak(tok.id,es,0);
+ ParseErrorWeak(tok.id, 0, 0, 0);
ParserSync();
} else {
boolFlag = 0;
@@ -713,7 +712,6 @@
//
//
func ParseFuncDeclListSub() uint64 {
- var es [2]uint64;
var boolFlag uint64;
PrintDebugString("Entering ParseFuncDeclListSub()",1000);
boolFlag = ParseFuncDeclHead();
@@ -723,9 +721,7 @@
boolFlag = ParseFuncDecl();
}
if boolFlag != 0 {
- es[0] = TOKEN_SEMICOLON;
- es[1] = TOKEN_LCBRAC;
- ParseErrorFatal(tok.id,es,2);
+ ParseErrorFatal(tok.id, TOKEN_SEMICOLON, TOKEN_LCBRAC, 2);
}
}
PrintDebugString("Leaving ParseFuncDeclListSub()",1000);
=======================================
--- /src/utils.go Sat Jun 19 11:34:23 2010
+++ /src/utils.go Sun Jun 20 07:40:54 2010
@@ -78,8 +78,7 @@
libgogo.Exit(2);
}

-func ParseErrorWeak(ue uint64, e[2]uint64, eLen uint64) {
- var i uint64;
+func ParseErrorWeak(ue uint64, expectedToken1 uint64, expectedToken2
uint64, expectedLen uint64) {
var str string;

errors = errors+1;
@@ -101,14 +100,14 @@
libgogo.PrintString(")");
}

- if eLen > 0 {
+ if expectedLen > 0 {
libgogo.PrintString(", expecting one of: ");
- str = TokenToString(e[i]);
+ str = TokenToString(expectedToken1);
libgogo.PrintString(str);
- for i = 1; i < eLen; i = i+1 {
- str = TokenToString(e[i]);
+ if expectedLen >= 2 {
+ libgogo.PrintString(", ");
+ str = TokenToString(expectedToken2);
libgogo.PrintString(str);
- libgogo.PrintString(", ");
}
}
libgogo.PrintString("\n");
@@ -123,11 +122,11 @@
//
// Function printing a parse error using only libgogo.
// ue ... unexpected token
-// e .... array of expected tokens
-// eLen . actual length (items) of array
+// expectedToken1,2 .... expected tokens
+// expectedLen . actual number of expected tokens (others will be ignored)
//
-func ParseErrorFatal(ue uint64, e [2]uint64, eLen uint64) {
- ParseErrorWeak(ue,e,eLen);
+func ParseErrorFatal(ue uint64, expectedToken1 uint64, expectedToken2
uint64, expectedLen uint64) {
+ ParseErrorWeak(ue, expectedToken1, expectedToken2, expectedLen);
libgogo.Exit(3);
}

go...@googlecode.com

unread,
Aug 17, 2010, 10:55:31 PM8/17/10
to go...@googlegroups.com
2 new revisions:

Revision: 06f184a496
Author: Michael Lippautz <michael....@gmail.com>
Date: Sun Jun 20 09:12:37 2010
Log: linker: Fix linking cases where ANDQ needs to be skipped
http://code.google.com/p/gogc/source/detail?r=06f184a496

Revision: f389d6d109
Author: Michael Lippautz <michael....@gmail.com>
Date: Sun Jun 20 11:01:59 2010
Log: libgogo: Fix bug in GetChar() and recode GetArgv()
http://code.google.com/p/gogc/source/detail?r=f389d6d109

==============================================================================
Revision: 06f184a496
Author: Michael Lippautz <michael....@gmail.com>
Date: Sun Jun 20 09:12:37 2010
Log: linker: Fix linking cases where ANDQ needs to be skipped
http://code.google.com/p/gogc/source/detail?r=06f184a496

Modified:
/src/linker.go

=======================================
--- /src/linker.go Sun Jun 20 06:31:21 2010
+++ /src/linker.go Sun Jun 20 09:12:37 2010
@@ -317,10 +317,18 @@
var newLine string;
var strCmp uint64;
var fixedAdr string = "-";
+ var skip uint64 = 0;

for i = 0; i < 6;i = i+1 {
libgogo.CharAppend(&newLine, ld.Line[i]);
}
+
+ strCmp = libgogo.StringCompare(" ANDQ", newLine);
+ if (strCmp == 0) { // this line needs to be skipped
+ skip = ld.NeedsFix;
+ ld.NeedsFix = 0;
+ }
+
strCmp = libgogo.StringCompare(" MOVB", newLine);
if strCmp == 0 {
ld.NeedsByteFix = 1;
@@ -370,6 +378,18 @@

}

+ if skip != 0 {
+ ld.NeedsFix = skip;
+ strLen = libgogo.StringLength(ld.Line);
+ for i = 6; i < strLen; i = i + 1 {
+ libgogo.CharAppend(&newLine, ld.Line[i]);
+ }
+ } else {
+ ld.Line = newLine;
+ ld.NeedsFix = 0;
+ }
+
+
libgogo.PrintString(newLine);
libgogo.PrintString("\n");
if ld.NeedsByteFix == 1 {
@@ -378,9 +398,6 @@
libgogo.PrintString("\n");
ld.NeedsByteFix = 0;
}
-
- ld.Line = newLine;
- ld.NeedsFix = 0;
}

//

==============================================================================
Revision: f389d6d109
Author: Michael Lippautz <michael....@gmail.com>
Date: Sun Jun 20 11:01:59 2010
Log: libgogo: Fix bug in GetChar() and recode GetArgv()
http://code.google.com/p/gogc/source/detail?r=f389d6d109

Modified:
/src/libgogo/io_amd64.s
/src/libgogo/libgogo.go

=======================================
--- /src/libgogo/io_amd64.s Sat Jun 19 01:30:33 2010
+++ /src/libgogo/io_amd64.s Sun Jun 20 11:01:59 2010
@@ -52,7 +52,7 @@
MOVQ $1, DX //buffer size (size 1)
SYSCALL //Linux syscall
CMPQ AX, $0xFFFFFFFFFFFFF001 //Check for success
- JLS READ_SUCCESS //Return result if successful
+ JLS GETCHAR_SUCCESS //Return result if successful
GETCHAR_ERROR:
MOVQ $0, 16(SP) //Return 0 (return value after one parameter =>
SP+2*64bit)
GETCHAR_SUCCESS:
=======================================
--- /src/libgogo/libgogo.go Sat Apr 24 13:30:30 2010
+++ /src/libgogo/libgogo.go Sun Jun 20 11:01:59 2010
@@ -22,19 +22,21 @@
func GetArgv() {
var fd uint64;
var errno uint64;
- var char string = "#";
+ var singleChar byte;
+ var lastChar byte = 1; // needs to be != 0 at start

fd = FileOpen("/proc/self/cmdline", 0); //Open file that contains the
program's arguments
if fd == 0 { //Error check (the system may have been compiled with
proc fs disabled)
ExitError("Error opening /proc/self/cmdline. Currently GoGo is
only supported on systems with /proc enabled.", 1);
- }
-
- for errno = Read(fd, char, 1) ; errno != 0 ; errno = Read(fd, char, 1)
{ //Read characters one by one
- if char[0] == 0 { //0 terminates one argument and lets a new one
begin
- Argc = Argc + 1; //Increase argument count
+ }
+
+ for singleChar = GetChar(fd);(singleChar != 0) || (lastChar != 0);
singleChar = GetChar(fd) {
+ if (singleChar == 0) {
+ Argc = Argc +1;
} else {
- CharAppend(&Argv[Argc], char[0]); //Append the next character
read to the current argument
- }
+ CharAppend(&Argv[Argc], singleChar);
+ }
+ lastChar = singleChar;
}

errno = FileClose(fd);

go...@googlecode.com

unread,
Aug 17, 2010, 10:59:39 PM8/17/10
to go...@googlegroups.com
2 new revisions:

Revision: fdb16a5e9f
Author: Andreas Unterweger <and...@gmx.at>
Date: Sun Jun 20 08:06:10 2010
Log: gen-fcn.go: Possible bugfix for missing return value in forward
declar...
http://code.google.com/p/gogc/source/detail?r=fdb16a5e9f

Revision: 790bf87d6e
Author: Michael Lippautz <michael....@gmail.com>
Date: Sun Jun 20 08:36:58 2010
Log: gogo: Prepare for self-compilation
http://code.google.com/p/gogc/source/detail?r=790bf87d6e

==============================================================================
Revision: fdb16a5e9f
Author: Andreas Unterweger <and...@gmx.at>
Date: Sun Jun 20 08:06:10 2010
Log: gen-fcn.go: Possible bugfix for missing return value in forward
declarations
http://code.google.com/p/gogc/source/detail?r=fdb16a5e9f

Modified:
/src/gen-fcn.go

=======================================
--- /src/gen-fcn.go Sun Jun 20 06:22:42 2010
+++ /src/gen-fcn.go Sun Jun 20 08:06:10 2010
@@ -88,13 +88,20 @@
func AddArtificialReturnValueIfNecessary(FunctionCalled *libgogo.TypeDesc,
ReturnValue *libgogo.Item, ForwardDeclExpectedReturnType *libgogo.TypeDesc,
ForwardDeclExpectedReturnPtrType uint64, SavedRegisterOffset uint64)
*libgogo.Item {
var TotalLocalVariableSize uint64;
var TempObject *libgogo.ObjectDesc;
- if (FunctionCalled.ForwardDecl == 1) && (FunctionCalled.Base == nil) {
//Create artifical return value if function is called the first time
+ if FunctionCalled.ForwardDecl == 1 { //Create artifical return value
if function is called in a forward declaration
if ForwardDeclExpectedReturnType != nil { //Return type expected
- TempObject = libgogo.NewObject("return value", "",
libgogo.CLASS_PARAMETER); //Create artificial return value
- TempObject.ObjType = ForwardDeclExpectedReturnType;
- TempObject.PtrType = ForwardDeclExpectedReturnPtrType;
- libgogo.AddParameters(TempObject, FunctionCalled); //Add a
new, artificial return value
- FunctionCalled.Len = FunctionCalled.Len - 1; //Don't count
parameter as input parameter
+ TempObject = libgogo.GetObject("return value", "",
FunctionCalled.Fields); //Check if there is a return value
+ if TempObject == nil { //If there is no return value, create
one
+ TempObject = libgogo.NewObject("return value", "",
libgogo.CLASS_PARAMETER); //Create artificial return value
+ TempObject.ObjType = ForwardDeclExpectedReturnType;
+ TempObject.PtrType = ForwardDeclExpectedReturnPtrType;
+ libgogo.AddParameters(TempObject, FunctionCalled); //Add a
new, artificial return value
+ FunctionCalled.Len = FunctionCalled.Len - 1; //Don't count
parameter as input parameter
+ } else { //If there is already a return value, validate it
+ if (TempObject.ObjType != ForwardDeclExpectedReturnType) |
| (TempObject.PtrType != ForwardDeclExpectedReturnPtrType) {
+ SymbolTableError("Function has been forward declared
with", "different", "return value type, function", CurrentFunction.Name);
+ }
+ }
TotalLocalVariableSize =
libgogo.GetAlignedObjectListSize(LocalObjects); //Take local variable size
into consideration for offset below
ReturnValue = ObjectToStackParameter(TempObject,
FunctionCalled, TotalLocalVariableSize);
ReturnValue.A = ReturnValue.A + SavedRegisterOffset;

==============================================================================
Revision: 790bf87d6e
Author: Michael Lippautz <michael....@gmail.com>
Date: Sun Jun 20 08:36:58 2010
Log: gogo: Prepare for self-compilation
http://code.google.com/p/gogc/source/detail?r=790bf87d6e

Added:
/src/compile_all
/src/globals.go
Modified:
/src/Makefile
/src/gen-expr.go
/src/gogo.go
/src/parser.go

=======================================
--- /dev/null
+++ /src/compile_all Sun Jun 20 08:36:58 2010
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+./gogo -c \
+libgogo/convert.go \
+libgogo/convert_amd64.s \
+libgogo/io.go \
+libgogo/io_amd64.s \
+libgogo/list.go \
+libgogo/memmgr.go \
+libgogo/memmgr_amd64.s \
+libgogo/strlist.go \
+libgogo/symbol.go \
+libgogo/symbol_amd64.s \
+libgogo/string.go \
+libgogo/string_amd64.s \
+libgogo/item.go \
+libgogo/item_amd64.s \
+libgogo/libgogo.go \
+libgogo/libgogo_amd64.s \
+libgogo/stack.go \
+globals.go \
+token.go \
+symtable.go \
+parser.go \
+gogo.go \
+asm_out.go \
+codegen.go \
+gen-arith.go \
+gen-assign.go \
+gen-cond.go \
+gen-const.go \
+gen-expr.go \
+gen-fcn.go \
+gen-for.go \
+gen-if.go \
+linker.go \
+parse-utils.go \
+scanner.go \
+utils.go
=======================================
--- /dev/null
+++ /src/globals.go Sun Jun 20 08:36:58 2010
@@ -0,0 +1,81 @@
+// Copyright 2010 The GoGo Authors. All rights reserved.
+// Use of this source code is governed by the MIT
+// license that can be found in the LICENSE file.
+
+//
+// File holding global variables that are needed by two or more modules
+//
+
+package main
+
+//
+// Struct holding the information about a file that is compiled
+//
+type FileInfo struct {
+ filename string;
+ lineCounter uint64;
+ charCounter uint64;
+ fd uint64;
+};
+
+type ExpressionDescriptor struct {
+ //
+ // Labeling information
+ //
+ ExpressionDepth uint64; // The current expression depth.
+ IncCnt uint64; // Some incremental counter to guarantee uniqueness
+ CurFile string; // Current file begining with a specified prefix.
+ CurLine uint64; // Current line in parser. Used for label generation.
+
+ //
+ // True/False branches (merge) information
+ //
+ T uint64; // True branch
+ F uint64; // False branch
+ TDepth uint64; /* Depth when true branch has been started. Used for
merge
+ and printing. */
+ FDepth uint64; // Same as true depth.
+ Not uint64; // Flag indicating not branch
+
+ //
+ // Break continue information
+ //
+ ForEd *ExpressionDescriptor;
+ ForPost uint64;
+};
+
+//
+// Fileinformation for all files that are compiled in this run
+// Is limited by 40 to reduce memory consumption, but to allow
+// self compilation via "./gogo libgogo/*.go *.go"
+//
+var fileInfo [40]FileInfo;
+var fileInfoLen uint64 = 0;
+var curFileIndex uint64 = 0;
+
+//
+// Compiler flag indicating in which mode the compiler is
+// 0 ... parsing only
+// 1 ... compile (code generation)
+// 2 ... link
+//
+var Compile uint64 = 0;
+
+//
+// A very basic debug flag
+// Set to 1000 to enable all parsing strings
+// Set to 100 to enable all symbol tables
+// Set to 10 to enable asm debugging
+//
+var DEBUG_LEVEL uint64 = 10;
+
+//
+// Package name of currently processed file
+//
+var CurrentPackage string = "<no package>";
+
+var InsideFunction uint64 = 0;
+var InsideStructDecl uint64 = 0;
+var InsideFunctionVarDecl uint64 = 0;
+
+
=======================================
--- /src/Makefile Sat Jun 12 13:11:36 2010
+++ /src/Makefile Sun Jun 20 08:36:58 2010
@@ -6,6 +6,7 @@

TARG=gogo
GOFILES=\
+ globals.go\
gogo.go\
scanner.go\
token.go\
=======================================
--- /src/gen-expr.go Tue Jun 15 07:42:10 2010
+++ /src/gen-expr.go Sun Jun 20 08:36:58 2010
@@ -10,32 +10,6 @@

import "./libgogo/_obj/libgogo"

-type ExpressionDescriptor struct {
- //
- // Labeling information
- //
- ExpressionDepth uint64; // The current expression depth.
- IncCnt uint64; // Some incremental counter to guarantee uniqueness
- CurFile string; // Current file begining with a specified prefix.
- CurLine uint64; // Current line in parser. Used for label generation.
-
- //
- // True/False branches (merge) information
- //
- T uint64; // True branch
- F uint64; // False branch
- TDepth uint64; /* Depth when true branch has been started. Used for
merge
- and printing. */
- FDepth uint64; // Same as true depth.
- Not uint64; // Flag indicating not branch
-
- //
- // Break continue information
- //
- ForEd *ExpressionDescriptor;
- ForPost uint64;
-};
-
func SwapExpressionBranches(ed *ExpressionDescriptor) {
var tmp uint64;
tmp = ed.T;
@@ -209,7 +183,9 @@
}
}
if (item1.Itemtype == string_t) || (item2.Itemtype == string_t) {
- GenErrorWeak("Cannot compare string types.");
+ if (item1.PtrType != 1) && (item2.PtrType != 1) {
+ GenErrorWeak("Cannot compare string types.");
+ }
}
if item1.PtrType == 1 {
if item2.PtrType == 1 {
=======================================
--- /src/gogo.go Wed Jun 16 10:19:14 2010
+++ /src/gogo.go Sun Jun 20 08:36:58 2010
@@ -6,38 +6,6 @@

import "./libgogo/_obj/libgogo"

-//
-// Struct holding the information about a file that is compiled
-//
-type FileInfo struct {
- filename string;
- lineCounter uint64;
- charCounter uint64;
- fd uint64;
-};
-
-//
-// Fileinformation for all files that are compiled in this run
-// Is limited by 32 to reduce memory consumption, but to allow
-// self compilation via "./gogo libgogo/*.go *.go"
-//
-var fileInfo [32]FileInfo;
-var fileInfoLen uint64 = 0;
-var curFileIndex uint64 = 0;
-
-//
-// Compiler flag
-//
-var Compile uint64 = 0;
-
-//
-// A very basic debug flag
-// Set to 1000 to enable all parsing strings
-// Set to 100 to enable all symbol tables
-// Set to 10 to enable asm debugging
-//
-var DEBUG_LEVEL uint64 = 10;
-
//
// Entry point of the compiler
//
@@ -52,8 +20,8 @@

ParseOption();

- if libgogo.Argc > 34 {
- libgogo.ExitError("Cannot compile more than 32 files at once",1);
+ if libgogo.Argc > 40 {
+ libgogo.ExitError("Cannot compile more than 38 files at once",1);
}

InitSymbolTable(); //Initialize symbol table
=======================================
--- /src/parser.go Sun Jun 20 07:40:54 2010
+++ /src/parser.go Sun Jun 20 08:36:58 2010
@@ -8,15 +8,6 @@

var Operators libgogo.Stack;

-var InsideFunction uint64 = 0;
-var InsideStructDecl uint64 = 0;
-var InsideFunctionVarDecl uint64 = 0;
-
-//
-// Package name of currently processed file
-//
-var CurrentPackage string = "<no package>";
-
//
// Pseudo object representing a function's return value
//
@@ -527,9 +518,8 @@
//
//
//
-func ParseFactor(item *libgogo.Item, ed *ExpressionDescriptor) uint64 {
+func ParseFactor(item *libgogo.Item, ed *ExpressionDescriptor) {


var doneFlag uint64 = 1;

- var boolFlag uint64;

GetNextTokenSafe();
if (doneFlag == 1) && (tok.id == TOKEN_IDENTIFIER) {

@@ -548,7 +538,7 @@
}
doneFlag = 0;
}
- if (doneFlag) == 1 && (tok.id == TOKEN_LBRAC) {
+ if (doneFlag == 1) && (tok.id == TOKEN_LBRAC) {
ParseExpression(item, ed);
AssertNextTokenWeak(TOKEN_RBRAC);
doneFlag = 0;
@@ -565,16 +555,12 @@
}

if doneFlag != 0 {
- boolFlag = 1;


tok.nextToken = tok.id;
// Fix (?) empty factor, which should not be possible.

ParseErrorWeak(tok.id, 0, 0, 0);
ParserSync();

- } else {
- boolFlag = 0;
}
PrintDebugString("Leaving ParseFactor()",1000);
- return boolFlag;
}

func ParseSimpleSelector() uint64 {
@@ -609,12 +595,8 @@
}

func ParseSelector_FunctionCall(FunctionCalled *libgogo.TypeDesc)
*libgogo.TypeDesc {
- //var boolFlag uint64;
- PrintDebugString("Entering ParseSelector_FunctionCall()",1000);
- /*for boolFlag = ParseSelectorSub_FunctionCall(FunctionCalled);
- boolFlag == 0;
- boolFlag = ParseSelectorSub_FunctionCall(FunctionCalled) {
- }*/ ParseSelectorSub_FunctionCall(FunctionCalled);
+ PrintDebugString("Entering ParseSelector_FunctionCall()",1000);
+ ParseSelectorSub_FunctionCall(FunctionCalled);
PrintDebugString("Leaving ParseSelector_FunctionCall()",1000);
if ReturnedFunction != nil {
FunctionCalled = ReturnedFunction;
@@ -674,8 +656,7 @@
return boolFlag;
}

-func ParseSelectorSub_FunctionCall(FunctionCalled *libgogo.TypeDesc)
uint64 {
- var boolFlag uint64;
+func ParseSelectorSub_FunctionCall(FunctionCalled *libgogo.TypeDesc) {
PrintDebugString("Entering ParseSelectorSub_FunctionCall()",1000);
GetNextTokenSafe();
ReturnedFunction = nil; //No new FunctionCalled pointer by default
@@ -684,16 +665,13 @@
if Compile != 0 {
ReturnedFunction = ApplyFunctionSelector(FunctionCalled,
tok.strValue);
}
- boolFlag = 0;
} else {
tok.nextToken = tok.id;
if Compile != 0 {
ReturnedFunction =
PackageFunctionToNameFunction(FunctionCalled);
}
- boolFlag = 1;
}
PrintDebugString("Leaving ParseSelectorSub_FunctionCall()",1000);
- return boolFlag;
}

//
@@ -984,8 +962,7 @@
return returnValue;
}

-func ParseAssignment(semicolon uint64) uint64 {
- var boolFlag uint64;
+func ParseAssignment(semicolon uint64) {
var exprIndicator uint64;
var funcIndicator uint64;
var LHSItem *libgogo.Item;
@@ -1036,14 +1013,11 @@
if semicolon != 0 {
AssertNextTokenWeak(TOKEN_SEMICOLON);
}
- boolFlag = 0;
} else {
tok.nextToken = tok.id;
- boolFlag = 1;
}
GenerateComment("Assignment end");
PrintDebugString("Leaving ParseAssignment()",1000);
- return boolFlag;
}

func ParseFunctionCall(FunctionCalled *libgogo.TypeDesc) *libgogo.Item {

Reply all
Reply to author
Forward
0 new messages