├── .gitignore ├── GenerateProjectFiles.bat ├── LICENSE ├── README.md ├── book.jpg ├── premake5.lua ├── tiger └── src │ ├── absyn.c │ ├── absyn.h │ ├── errormsg.c │ ├── errormsg.h │ ├── lex.yy.c │ ├── parse.c │ ├── parse.h │ ├── prabsyn.c │ ├── prabsyn.h │ ├── symbol.c │ ├── symbol.h │ ├── table.c │ ├── table.h │ ├── tiger.grm │ ├── tiger.lex │ ├── util.c │ ├── util.h │ ├── y.output │ ├── y.tab.c │ └── y.tab.h └── vendor ├── bison ├── bin │ ├── bison.exe │ ├── libiconv2.dll │ ├── libintl3.dll │ ├── m4.exe │ ├── regex2.dll │ └── yacc ├── contrib │ └── bison │ │ └── 2.4.1 │ │ ├── bison-2.4.1-GnuWin32.README │ │ ├── bison-2.4.1-src │ │ ├── ABOUT-NLS │ │ ├── AUTHORS │ │ ├── COPYING │ │ ├── ChangeLog │ │ ├── INSTALL │ │ ├── NEWS │ │ ├── README │ │ ├── README-alpha │ │ ├── THANKS │ │ ├── TODO │ │ ├── data │ │ │ └── README │ │ ├── djgpp │ │ │ └── README.in │ │ ├── doc │ │ │ ├── bison.info │ │ │ └── gpl-3.0.texi │ │ └── etc │ │ │ └── README │ │ └── bison-2.4.1 │ │ └── check.log ├── doc │ ├── UnixV7 │ │ ├── yacc_V7.1.pdf │ │ ├── yacc_V7.1.ps.gz │ │ ├── yacc_V7.pdf │ │ └── yacc_V7.ps.gz │ └── bison │ │ └── 2.4.1 │ │ └── bison-2.4.1 │ │ ├── bison.chm │ │ ├── bison.dvi.gz │ │ ├── bison.hlp │ │ ├── bison.html │ │ ├── bison.pdf │ │ └── bison.ps.gz ├── include │ └── unistd.h ├── info │ ├── bison.info.gz │ └── dir ├── lib │ ├── charset.alias │ └── liby.a ├── man │ ├── cat1 │ │ ├── bison.1.txt │ │ └── yacc.1.txt │ ├── cat1p │ │ └── yacc.1p.txt │ ├── html │ │ ├── bison.1.html │ │ ├── yacc.1.html │ │ └── yacc.1p.html │ ├── man1 │ │ ├── bison.1 │ │ └── yacc.1 │ ├── man1p │ │ └── yacc.1p │ ├── pdf │ │ └── bison-man.pdf │ └── ps │ │ └── bison-man.ps.gz ├── manifest │ ├── bison-2.4.1-bin.mft │ ├── bison-2.4.1-bin.ver │ ├── bison-2.4.1-dep.mft │ ├── bison-2.4.1-dep.ver │ ├── bison-2.4.1-doc.mft │ ├── bison-2.4.1-doc.ver │ ├── bison-2.4.1-lib.mft │ ├── bison-2.4.1-lib.ver │ ├── bison-2.4.1-src.mft │ └── bison-2.4.1-src.ver ├── share │ ├── aclocal │ │ └── bison-i18n.m4 │ ├── bison │ │ ├── README │ │ ├── bison.m4 │ │ ├── c++-skel.m4 │ │ ├── c++.m4 │ │ ├── c-skel.m4 │ │ ├── c.m4 │ │ ├── glr.c │ │ ├── glr.cc │ │ ├── java-skel.m4 │ │ ├── java.m4 │ │ ├── lalr1.cc │ │ ├── lalr1.java │ │ ├── location.cc │ │ ├── m4sugar │ │ │ ├── foreach.m4 │ │ │ └── m4sugar.m4 │ │ ├── xslt │ │ │ ├── bison.xsl │ │ │ ├── xml2dot.xsl │ │ │ ├── xml2text.xsl │ │ │ └── xml2xhtml.xsl │ │ └── yacc.c │ └── locale │ │ ├── da │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── de │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── el │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── es │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── et │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── fi │ │ └── LC_MESSAGES │ │ │ └── bison-runtime.mo │ │ ├── fr │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── ga │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── hr │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── id │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── it │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── ja │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── ky │ │ └── LC_MESSAGES │ │ │ └── bison-runtime.mo │ │ ├── lt │ │ └── LC_MESSAGES │ │ │ └── bison-runtime.mo │ │ ├── ms │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── nb │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── nl │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── pl │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── pt_BR │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── ro │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── ru │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── sl │ │ └── LC_MESSAGES │ │ │ └── bison-runtime.mo │ │ ├── sv │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── th │ │ └── LC_MESSAGES │ │ │ └── bison-runtime.mo │ │ ├── tr │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── uk │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── vi │ │ └── LC_MESSAGES │ │ │ ├── bison-runtime.mo │ │ │ └── bison.mo │ │ ├── zh_CN │ │ └── LC_MESSAGES │ │ │ └── bison-runtime.mo │ │ └── zh_TW │ │ └── LC_MESSAGES │ │ ├── bison-runtime.mo │ │ └── bison.mo └── src │ └── bison │ └── 2.4.1 │ ├── bison-2.4.1-src │ ├── .prev-version │ ├── .tarball-version │ ├── .version │ ├── ABOUT-NLS │ ├── AUTHORS │ ├── COPYING │ ├── ChangeLog │ ├── GNUmakefile │ ├── INSTALL │ ├── Makefile.am │ ├── Makefile.in │ ├── NEWS │ ├── OChangeLog │ ├── PACKAGING │ ├── README │ ├── README-alpha │ ├── THANKS │ ├── TODO │ ├── aclocal.m4 │ ├── bison.chm │ ├── build-aux │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── announce-gen │ │ ├── compile │ │ ├── config.guess │ │ ├── config.rpath │ │ ├── config.sub │ │ ├── cross-options.pl │ │ ├── depcomp │ │ ├── git-version-gen │ │ ├── install-sh │ │ ├── javacomp.sh.in │ │ ├── javaexec.sh.in │ │ ├── link-warning.h │ │ ├── mdate-sh │ │ ├── missing │ │ ├── prev-version.txt │ │ ├── texinfo.tex │ │ └── ylwrap │ ├── cfg.mk │ ├── configure │ ├── configure.ac │ ├── data │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── README │ │ ├── bison.m4 │ │ ├── c++-skel.m4 │ │ ├── c++.m4 │ │ ├── c-skel.m4 │ │ ├── c.m4 │ │ ├── glr.c │ │ ├── glr.cc │ │ ├── java-skel.m4 │ │ ├── java.m4 │ │ ├── lalr1.cc │ │ ├── lalr1.java │ │ ├── location.cc │ │ ├── m4sugar │ │ │ ├── foreach.m4 │ │ │ └── m4sugar.m4 │ │ ├── xslt │ │ │ ├── bison.xsl │ │ │ ├── xml2dot.xsl │ │ │ ├── xml2text.xsl │ │ │ └── xml2xhtml.xsl │ │ └── yacc.c │ ├── djgpp │ │ ├── Makefile.maint │ │ ├── README.in │ │ ├── config.bat │ │ ├── config.sed │ │ ├── config.site │ │ ├── config_h.sed │ │ ├── djunpack.bat │ │ ├── fnchange.lst │ │ ├── subpipe.c │ │ ├── subpipe.h │ │ └── testsuite.sed │ ├── doc │ │ ├── Doxyfile.in │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── bison.1 │ │ ├── bison.info │ │ ├── bison.texinfo │ │ ├── bison.x │ │ ├── common.x │ │ ├── cross-options.texi │ │ ├── fdl.texi │ │ ├── gpl-3.0.texi │ │ ├── refcard.tex │ │ ├── stamp-vti │ │ ├── version.texi │ │ └── yacc.1.in │ ├── etc │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── README │ │ └── bench.pl.in │ ├── examples │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── calc++ │ │ │ ├── Makefile.am │ │ │ ├── Makefile.in │ │ │ ├── calc++-driver.cc │ │ │ ├── calc++-driver.hh │ │ │ ├── calc++-parser.cc │ │ │ ├── calc++-parser.hh │ │ │ ├── calc++-parser.stamp │ │ │ ├── calc++-parser.yy │ │ │ ├── calc++-scanner.cc │ │ │ ├── calc++-scanner.ll │ │ │ ├── calc++.cc │ │ │ ├── location.hh │ │ │ ├── position.hh │ │ │ ├── stack.hh │ │ │ └── test │ │ └── extexi │ ├── lib │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── abitset.c │ │ ├── abitset.h │ │ ├── areadlink.h │ │ ├── argmatch.c │ │ ├── argmatch.h │ │ ├── basename.c │ │ ├── bbitset.h │ │ ├── bitset.c │ │ ├── bitset.h │ │ ├── bitset_stats.c │ │ ├── bitset_stats.h │ │ ├── bitsetv-print.c │ │ ├── bitsetv-print.h │ │ ├── bitsetv.c │ │ ├── bitsetv.h │ │ ├── c-ctype.c │ │ ├── c-ctype.h │ │ ├── c-strcase.h │ │ ├── c-strcasecmp.c │ │ ├── c-strncasecmp.c │ │ ├── canonicalize.h │ │ ├── config.charset │ │ ├── config.hin │ │ ├── confsys.h │ │ ├── dirname.c │ │ ├── dirname.h │ │ ├── dup-safer.c │ │ ├── ebitset.c │ │ ├── ebitset.h │ │ ├── errno.in.h │ │ ├── error.c │ │ ├── error.h │ │ ├── exitfail.c │ │ ├── exitfail.h │ │ ├── fd-safer.c │ │ ├── fopen-safer.c │ │ ├── get-errno.c │ │ ├── get-errno.h │ │ ├── getopt.c │ │ ├── getopt.in.h │ │ ├── getopt1.c │ │ ├── getopt_int.h │ │ ├── gettext.h │ │ ├── gnulib.mk │ │ ├── hash.c │ │ ├── hash.h │ │ ├── intprops.h │ │ ├── inttypes.in.h │ │ ├── lbitset.c │ │ ├── lbitset.h │ │ ├── libiberty.h │ │ ├── localcharset.c │ │ ├── localcharset.h │ │ ├── main.c │ │ ├── malloc.c │ │ ├── mbswidth.c │ │ ├── mbswidth.h │ │ ├── obstack.c │ │ ├── obstack.h │ │ ├── pipe-safer.c │ │ ├── progname.c │ │ ├── progname.h │ │ ├── progreloc.c │ │ ├── quote.c │ │ ├── quote.h │ │ ├── quotearg.c │ │ ├── quotearg.h │ │ ├── ref-add.sin │ │ ├── ref-del.sin │ │ ├── relocatable.c │ │ ├── relocatable.h │ │ ├── stdbool.in.h │ │ ├── stdint.in.h │ │ ├── stdio--.h │ │ ├── stdio-safer.h │ │ ├── stdlib.in.h │ │ ├── stpcpy.c │ │ ├── streq.h │ │ ├── strerror.c │ │ ├── string.in.h │ │ ├── stripslash.c │ │ ├── strndup.c │ │ ├── strnlen.c │ │ ├── strtol.c │ │ ├── strtoul.c │ │ ├── strverscmp.c │ │ ├── subpipe.c │ │ ├── subpipe.h │ │ ├── timevar.c │ │ ├── timevar.def │ │ ├── timevar.h │ │ ├── unistd--.h │ │ ├── unistd-safer.h │ │ ├── unistd.in.h │ │ ├── unitypes.h │ │ ├── uniwidth.h │ │ ├── uniwidth │ │ │ ├── cjk.h │ │ │ └── width.c │ │ ├── unlocked-io.h │ │ ├── unsetenv.c │ │ ├── vbitset.c │ │ ├── vbitset.h │ │ ├── verify.h │ │ ├── wchar.in.h │ │ ├── wctype.in.h │ │ ├── wcwidth.c │ │ ├── xalloc-die.c │ │ ├── xalloc.h │ │ ├── xmalloc.c │ │ ├── xstrndup.c │ │ ├── xstrndup.h │ │ └── yyerror.c │ ├── m4 │ │ ├── argmatch.m4 │ │ ├── bison-i18n.m4 │ │ ├── c-working.m4 │ │ ├── config-h.m4 │ │ ├── cxx.m4 │ │ ├── dirname.m4 │ │ ├── dmalloc.m4 │ │ ├── dos.m4 │ │ ├── double-slash-root.m4 │ │ ├── environ.m4 │ │ ├── errno_h.m4 │ │ ├── error.m4 │ │ ├── exitfail.m4 │ │ ├── extensions.m4 │ │ ├── getopt.m4 │ │ ├── gettext.m4 │ │ ├── gnulib-common.m4 │ │ ├── gnulib-comp.m4 │ │ ├── hash.m4 │ │ ├── iconv.m4 │ │ ├── include_next.m4 │ │ ├── inline.m4 │ │ ├── intlmacosx.m4 │ │ ├── inttypes-pri.m4 │ │ ├── inttypes.m4 │ │ ├── javacomp.m4 │ │ ├── javaexec.m4 │ │ ├── lib-ld.m4 │ │ ├── lib-link.m4 │ │ ├── lib-prefix.m4 │ │ ├── localcharset.m4 │ │ ├── longlong.m4 │ │ ├── m4.m4 │ │ ├── malloc.m4 │ │ ├── mbrtowc.m4 │ │ ├── mbstate_t.m4 │ │ ├── mbswidth.m4 │ │ ├── nls.m4 │ │ ├── po.m4 │ │ ├── progtest.m4 │ │ ├── quote.m4 │ │ ├── quotearg.m4 │ │ ├── setenv.m4 │ │ ├── stdbool.m4 │ │ ├── stdint.m4 │ │ ├── stdio-safer.m4 │ │ ├── stdlib_h.m4 │ │ ├── stpcpy.m4 │ │ ├── strerror.m4 │ │ ├── string_h.m4 │ │ ├── strndup.m4 │ │ ├── strnlen.m4 │ │ ├── strtol.m4 │ │ ├── strtoul.m4 │ │ ├── strverscmp.m4 │ │ ├── subpipe.m4 │ │ ├── timevar.m4 │ │ ├── unistd-safer.m4 │ │ ├── unistd_h.m4 │ │ ├── unlocked-io.m4 │ │ ├── warnings.m4 │ │ ├── wchar.m4 │ │ ├── wchar_t.m4 │ │ ├── wctype.m4 │ │ ├── wcwidth.m4 │ │ ├── wint_t.m4 │ │ ├── xalloc.m4 │ │ └── xstrndup.m4 │ ├── maint.mk │ ├── po │ │ ├── LINGUAS │ │ ├── Makefile.in.in │ │ ├── Makevars │ │ ├── POTFILES.in │ │ ├── Rules-quot │ │ ├── bison.pot │ │ ├── boldquot.sed │ │ ├── da.gmo │ │ ├── da.po │ │ ├── de.gmo │ │ ├── de.po │ │ ├── el.gmo │ │ ├── el.po │ │ ├── en@boldquot.header │ │ ├── en@quot.header │ │ ├── es.gmo │ │ ├── es.po │ │ ├── et.gmo │ │ ├── et.po │ │ ├── fr.gmo │ │ ├── fr.po │ │ ├── ga.gmo │ │ ├── ga.po │ │ ├── hr.gmo │ │ ├── hr.po │ │ ├── id.gmo │ │ ├── id.po │ │ ├── insert-header.sin │ │ ├── it.gmo │ │ ├── it.po │ │ ├── ja.gmo │ │ ├── ja.po │ │ ├── ms.gmo │ │ ├── ms.po │ │ ├── nb.gmo │ │ ├── nb.po │ │ ├── nl.gmo │ │ ├── nl.po │ │ ├── pl.gmo │ │ ├── pl.po │ │ ├── pt_BR.gmo │ │ ├── pt_BR.po │ │ ├── quot.sed │ │ ├── remove-potcdate.sin │ │ ├── ro.gmo │ │ ├── ro.po │ │ ├── ru.gmo │ │ ├── ru.po │ │ ├── stamp-po │ │ ├── sv.gmo │ │ ├── sv.po │ │ ├── tr.gmo │ │ ├── tr.po │ │ ├── uk.gmo │ │ ├── uk.po │ │ ├── vi.gmo │ │ ├── vi.po │ │ ├── zh_TW.gmo │ │ └── zh_TW.po │ ├── runtime-po │ │ ├── LINGUAS │ │ ├── Makefile.in.in │ │ ├── Makevars │ │ ├── POTFILES.in │ │ ├── Rules-quot │ │ ├── bison-runtime.pot │ │ ├── boldquot.sed │ │ ├── da.gmo │ │ ├── da.po │ │ ├── de.gmo │ │ ├── de.po │ │ ├── el.gmo │ │ ├── el.po │ │ ├── en@boldquot.header │ │ ├── en@quot.header │ │ ├── es.gmo │ │ ├── es.po │ │ ├── et.gmo │ │ ├── et.po │ │ ├── fi.gmo │ │ ├── fi.po │ │ ├── fr.gmo │ │ ├── fr.po │ │ ├── ga.gmo │ │ ├── ga.po │ │ ├── hr.gmo │ │ ├── hr.po │ │ ├── id.gmo │ │ ├── id.po │ │ ├── insert-header.sin │ │ ├── it.gmo │ │ ├── it.po │ │ ├── ja.gmo │ │ ├── ja.po │ │ ├── ky.gmo │ │ ├── ky.po │ │ ├── lt.gmo │ │ ├── lt.po │ │ ├── ms.gmo │ │ ├── ms.po │ │ ├── nb.gmo │ │ ├── nb.po │ │ ├── nl.gmo │ │ ├── nl.po │ │ ├── pl.gmo │ │ ├── pl.po │ │ ├── pt_BR.gmo │ │ ├── pt_BR.po │ │ ├── quot.sed │ │ ├── remove-potcdate.sin │ │ ├── ro.gmo │ │ ├── ro.po │ │ ├── ru.gmo │ │ ├── ru.po │ │ ├── sl.gmo │ │ ├── sl.po │ │ ├── stamp-po │ │ ├── sv.gmo │ │ ├── sv.po │ │ ├── th.gmo │ │ ├── th.po │ │ ├── tr.gmo │ │ ├── tr.po │ │ ├── uk.gmo │ │ ├── uk.po │ │ ├── vi.gmo │ │ ├── vi.po │ │ ├── zh_CN.gmo │ │ ├── zh_CN.po │ │ ├── zh_TW.gmo │ │ └── zh_TW.po │ ├── src │ │ ├── LR0.c │ │ ├── LR0.h │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── assoc.c │ │ ├── assoc.h │ │ ├── closure.c │ │ ├── closure.h │ │ ├── complain.c │ │ ├── complain.h │ │ ├── conflicts.c │ │ ├── conflicts.h │ │ ├── derives.c │ │ ├── derives.h │ │ ├── files.c │ │ ├── files.h │ │ ├── flex-scanner.h │ │ ├── getargs.c │ │ ├── getargs.h │ │ ├── gram.c │ │ ├── gram.h │ │ ├── graphviz.c │ │ ├── graphviz.h │ │ ├── lalr.c │ │ ├── lalr.h │ │ ├── location.c │ │ ├── location.h │ │ ├── main.c │ │ ├── muscle_tab.c │ │ ├── muscle_tab.h │ │ ├── nullable.c │ │ ├── nullable.h │ │ ├── output.c │ │ ├── output.h │ │ ├── parse-gram.c │ │ ├── parse-gram.h │ │ ├── parse-gram.y │ │ ├── print-xml.c │ │ ├── print-xml.h │ │ ├── print.c │ │ ├── print.h │ │ ├── print_graph.c │ │ ├── print_graph.h │ │ ├── reader.c │ │ ├── reader.h │ │ ├── reduce.c │ │ ├── reduce.h │ │ ├── relation.c │ │ ├── relation.h │ │ ├── scan-code-c.c │ │ ├── scan-code.c │ │ ├── scan-code.h │ │ ├── scan-code.l │ │ ├── scan-gram-c.c │ │ ├── scan-gram.c │ │ ├── scan-gram.h │ │ ├── scan-gram.l │ │ ├── scan-skel-c.c │ │ ├── scan-skel.c │ │ ├── scan-skel.h │ │ ├── scan-skel.l │ │ ├── state.c │ │ ├── state.h │ │ ├── symlist.c │ │ ├── symlist.h │ │ ├── symtab.c │ │ ├── symtab.h │ │ ├── system.h │ │ ├── tables.c │ │ ├── tables.h │ │ ├── uniqstr.c │ │ └── uniqstr.h │ └── tests │ │ ├── Makefile.am │ │ ├── Makefile.in │ │ ├── actions.at │ │ ├── atlocal.in │ │ ├── bison.in │ │ ├── c++.at │ │ ├── calc.at │ │ ├── conflicts.at │ │ ├── cxx-type.at │ │ ├── existing.at │ │ ├── glr-regression.at │ │ ├── headers.at │ │ ├── input.at │ │ ├── java.at │ │ ├── local.at │ │ ├── output.at │ │ ├── package.m4 │ │ ├── push.at │ │ ├── reduce.at │ │ ├── regression.at │ │ ├── sets.at │ │ ├── skeletons.at │ │ ├── synclines.at │ │ ├── testsuite │ │ ├── testsuite.at │ │ ├── testsuite.tmp │ │ └── torture.at │ └── bison-2.4.1 │ ├── GNUmakefile.lnk │ ├── Makefile │ ├── Makefile.mingw │ ├── build-aux │ └── Makefile │ ├── check.log │ ├── config.log │ ├── config.status │ ├── configure_help.txt │ ├── data │ └── Makefile │ ├── doc │ ├── Makefile │ └── yacc.1 │ ├── etc │ ├── Makefile │ └── bench.pl │ ├── examples │ ├── Makefile │ └── calc++ │ │ ├── .deps │ │ ├── calc++-driver.Po │ │ ├── calc++-parser.Po │ │ ├── calc++-scanner.Po │ │ └── calc++.Po │ │ └── Makefile │ ├── javacomp.sh │ ├── javaexec.sh │ ├── lib │ ├── Makefile │ ├── config.h │ ├── stamp-h1 │ └── uniwidth │ │ ├── .deps │ │ ├── .dirstamp │ │ └── width.Po │ │ └── .dirstamp │ ├── libtool00.sed │ ├── patches │ ├── bison-2.3-src.diff │ ├── bison-2.3-src.diff.log │ ├── bison-2.4.1-src.diff │ └── bison-2.4.1-src │ │ ├── bison.chm │ │ ├── confsys.h │ │ ├── lib │ │ ├── areadlink.h │ │ ├── canonicalize.h │ │ ├── confsys.h │ │ ├── progname.c │ │ ├── progname.h │ │ ├── progreloc.c │ │ ├── relocatable.c │ │ └── relocatable.h │ │ └── tests │ │ └── testsuite.tmp │ ├── po │ ├── Makefile │ ├── Makefile.in │ └── POTFILES │ ├── resource │ ├── bison-res.rc │ └── gnu.ico │ ├── runtime-po │ ├── Makefile │ ├── Makefile.in │ └── POTFILES │ ├── src │ └── Makefile │ └── tests │ ├── Makefile │ ├── al │ ├── atconfig │ ├── atlocal │ └── bison ├── flex ├── bin │ ├── flex++.exe │ └── flex.exe ├── contrib │ └── flex │ │ └── 2.5.4a │ │ └── flex-2.5.4a │ │ ├── COPYING │ │ ├── INSTALL │ │ ├── MISC │ │ ├── Borland │ │ │ └── NOTES │ │ ├── MVS │ │ │ └── README │ │ ├── README │ │ └── fastwc │ │ │ └── README │ │ ├── NEWS │ │ ├── README │ │ ├── depends-GnuWin32.lst │ │ └── flex-2.5.4a-1-GnuWin32.README ├── man │ └── cat1 │ │ └── flex.1.txt └── manifest │ ├── flex-2.5.4a-1-bin.mft │ └── flex-2.5.4a-1-bin.ver ├── premake ├── LICENSE.txt └── premake5.exe └── tiger ├── chap1 ├── main.c ├── makefile ├── prog1.c ├── prog1.h ├── slp.c ├── slp.h ├── util.c └── util.h ├── chap10 ├── flowgraph.h ├── graph.c └── graph.h ├── chap11 ├── color.h └── regalloc.h ├── chap12 └── runtime.c ├── chap2 ├── driver.c ├── errormsg.c ├── errormsg.h ├── makefile ├── tiger.lex ├── tokens.h ├── util.c └── util.h ├── chap3 ├── errormsg.c ├── errormsg.h ├── lex.yy.c ├── makefile ├── parsetest.c ├── tiger.grm ├── util.c ├── util.h └── y.output ├── chap4 ├── absyn.c ├── absyn.h ├── lex.yy.c ├── makefile ├── parse.c ├── parse.h ├── prabsyn.c ├── prabsyn.h ├── symbol.c ├── symbol.h ├── table.c ├── table.h └── tiger.grm ├── chap5 ├── types.c └── types.h ├── chap6 ├── temp.c └── temp.h ├── chap7 ├── printtree.c ├── printtree.h ├── tree.c └── tree.h ├── chap8 ├── canon.c └── canon.h ├── chap9 ├── assem.c ├── assem.h ├── canon.c ├── canon.h └── main.c └── testcases ├── merge.tig ├── queens.tig ├── test1.tig ├── test10.tig ├── test11.tig ├── test12.tig ├── test13.tig ├── test14.tig ├── test15.tig ├── test16.tig ├── test17.tig ├── test18.tig ├── test19.tig ├── test2.tig ├── test20.tig ├── test21.tig ├── test22.tig ├── test23.tig ├── test24.tig ├── test25.tig ├── test26.tig ├── test27.tig ├── test28.tig ├── test29.tig ├── test3.tig ├── test30.tig ├── test31.tig ├── test32.tig ├── test33.tig ├── test34.tig ├── test35.tig ├── test36.tig ├── test37.tig ├── test38.tig ├── test39.tig ├── test4.tig ├── test40.tig ├── test41.tig ├── test42.tig ├── test43.tig ├── test44.tig ├── test45.tig ├── test46.tig ├── test47.tig ├── test48.tig ├── test49.tig ├── test5.tig ├── test6.tig ├── test7.tig ├── test8.tig └── test9.tig /.gitignore: -------------------------------------------------------------------------------- 1 | /.vs/ 2 | /.idea/ 3 | /bin/ 4 | /bin-int/ 5 | 6 | *.user 7 | *.sln 8 | *.vcxproj 9 | *.vcxproj.filters -------------------------------------------------------------------------------- /GenerateProjectFiles.bat: -------------------------------------------------------------------------------- 1 | call vendor\premake\premake5.exe vs2019 2 | PAUSE -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 trav 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Tiger Compiler 2 | 3 | Tiger compiler is a compiler for the tiger language which is described in the [book](https://www.cs.princeton.edu/~appel/modern/c/). This project is an attempt to implement tiger compiler in C language. 4 | 5 | ![book](./book.jpg) 6 | 7 | ## Build 8 | 9 | The skeleton code from tiger site uses makefile to build the application, however, makefile is complex and difficult for me. I rather chooses [Premake](https://github.com/premake/premake-core) to build the project. 10 | 11 | By using Premake, it is easy to generate and build the project: 12 | 13 | 1. Make sure your OS is Windows 10. 14 | 2. Make sure your Visual Studio 2019 can compile and build C program. 15 | 3. Execute `GenerateProjectFiles.bat` to generate Visual Studio solution files. 16 | 4. Open solution and build. 17 | -------------------------------------------------------------------------------- /book.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/book.jpg -------------------------------------------------------------------------------- /tiger/src/errormsg.h: -------------------------------------------------------------------------------- 1 | #ifndef ERRORMSG_H 2 | #define ERRORMSG_H 3 | 4 | #include "util.h" 5 | 6 | extern bool EM_anyErrors; 7 | extern int EM_tokPos; 8 | 9 | void EM_newline(void); 10 | void EM_error(int, string, ...); 11 | void EM_impossible(string, ...); 12 | void EM_reset(string filename); 13 | 14 | #endif // !ERRORMSG_H -------------------------------------------------------------------------------- /tiger/src/parse.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include "util.h" 4 | #include "symbol.h" 5 | #include "absyn.h" 6 | #include "errormsg.h" 7 | #include "parse.h" 8 | #include "prabsyn.h" 9 | 10 | extern FILE* yyin; 11 | extern int yyparse(void); 12 | extern A_exp absyn_root; 13 | 14 | A_exp parse(string filename) 15 | { 16 | EM_reset(filename); 17 | if (yyparse() == 0) 18 | { 19 | fprintf(stderr, "Parsing successful!\n"); 20 | return absyn_root; 21 | } 22 | else 23 | { 24 | fprintf(stderr, "Parsing failed\n"); 25 | return NULL; 26 | } 27 | } 28 | 29 | int main(int argc, char** argv) 30 | { 31 | if (argc != 2) 32 | { 33 | fprintf(stderr, "usage: a.out filename\n"); 34 | exit(1); 35 | } 36 | A_exp result = parse(argv[1]); 37 | if (result) 38 | { 39 | FILE* report = fopen("parse_report.c", "w"); 40 | if (report) 41 | { 42 | pr_exp(report, result, 0); 43 | } 44 | } 45 | return 0; 46 | } -------------------------------------------------------------------------------- /tiger/src/parse.h: -------------------------------------------------------------------------------- 1 | #ifndef PARSE_H 2 | #define PARSE_H 3 | 4 | /** Parses the file and returns the abstract syntax tree. */ 5 | A_exp parse(string filename); 6 | 7 | #endif // !PARSE_H -------------------------------------------------------------------------------- /tiger/src/prabsyn.h: -------------------------------------------------------------------------------- 1 | #ifndef PRABSYN_H 2 | #define PRABSYN_H 3 | 4 | #include /** FILE */ 5 | #include "absyn.h" /** A_exp */ 6 | 7 | void pr_exp(FILE* out, A_exp v, int d); 8 | 9 | #endif // !PRABSYN_H -------------------------------------------------------------------------------- /tiger/src/symbol.h: -------------------------------------------------------------------------------- 1 | #ifndef SYMBOL_H 2 | #define SYMBOL_H 3 | 4 | #include "util.h" 5 | 6 | typedef struct S_symbol_* S_symbol; 7 | 8 | struct S_symbol_ 9 | { 10 | string name; 11 | S_symbol next; 12 | }; 13 | 14 | /** 15 | * Make a unique symbol from a given string. 16 | * Different calls to S_Symbol("foo") will yield the same S_symbol 17 | * value, even if the "foo" strings are at different locations. 18 | */ 19 | S_symbol S_Symbol(string); 20 | 21 | /** Extract the underlying string from a symbol */ 22 | string S_name(S_symbol); 23 | 24 | /** S_table is a mapping from S_symbol->any, where "any" is represented here by void* */ 25 | typedef struct TAB_table_* S_table; 26 | 27 | /** Make a new table */ 28 | S_table S_empty(void); 29 | 30 | /** Enter a binding "sym->value" into "t", shadowing but not deleting any previous binding of "sym". */ 31 | void S_enter(S_table t, S_symbol sym, void* value); 32 | 33 | /** Look up the most recent binding of "sym" in "t", or return NULL if sym is unbound. */ 34 | void* S_look(S_table t, S_symbol sym); 35 | 36 | /** Start a new "scope" in "t". Scopes are nested. */ 37 | void S_beginScope(S_table t); 38 | 39 | /** Remove any bindings entered since the current scope began, and end the current scope. */ 40 | void S_endScope(S_table t); 41 | 42 | #endif // !SYMBOL_H -------------------------------------------------------------------------------- /tiger/src/table.h: -------------------------------------------------------------------------------- 1 | #ifndef TABLE_H 2 | #define TABLE_H 3 | 4 | typedef struct TAB_table_* TAB_table; 5 | 6 | /** Make a new table mapping "keys" to "values". */ 7 | TAB_table TAB_empty(void); 8 | 9 | /** 10 | * Enter the mapping "key"->"value" into table "t", 11 | * shadowing but not destroying any previous binding for "key". 12 | */ 13 | void TAB_enter(TAB_table t, void* key, void* value); 14 | 15 | /** Look up the most recent binding for "key" in table "t". */ 16 | void* TAB_look(TAB_table t, void* key); 17 | 18 | /** 19 | * Pop the most recent binding and return its key. 20 | * This may expose another binding for the same key, if there was one. 21 | */ 22 | void* TAB_pop(TAB_table t); 23 | 24 | /** 25 | * Call "show" on every "key"->"value" pair in the table, 26 | * including shadowed bindings, in order from the most 27 | * recent binding of any key to the oldest binding in the table. 28 | */ 29 | void TAB_dump(TAB_table t, void (*show)(void* key, void* value)); 30 | 31 | #endif // !TABLE_H -------------------------------------------------------------------------------- /tiger/src/util.c: -------------------------------------------------------------------------------- 1 | #include "util.h" 2 | #include 3 | #include 4 | #include 5 | 6 | void* checked_malloc(size_t size) 7 | { 8 | void* p = malloc(size); 9 | assert(p); 10 | return p; 11 | } 12 | 13 | string String(const char* src) 14 | { 15 | string p = checked_malloc(strlen(src) + 1); 16 | strcpy(p, src); 17 | return p; 18 | } 19 | 20 | U_boolList U_BoolList(bool head, U_boolList tail) 21 | { 22 | U_boolList list = checked_malloc(sizeof(*list)); 23 | list->head = head; 24 | list->tail = tail; 25 | return list; 26 | } 27 | 28 | U_intList U_IntList(int head, U_intList tail) 29 | { 30 | U_intList list = checked_malloc(sizeof(*list)); 31 | list->head = head; 32 | list->tail = tail; 33 | return list; 34 | } -------------------------------------------------------------------------------- /tiger/src/util.h: -------------------------------------------------------------------------------- 1 | #ifndef UTIL_H 2 | #define UTIL_H 3 | 4 | #include 5 | 6 | typedef char* string; 7 | typedef char bool; 8 | 9 | #define TRUE 1 10 | #define FALSE 0 11 | 12 | void* checked_malloc(size_t size); 13 | string String(const char* src); 14 | 15 | typedef struct U_boolList_* U_boolList; 16 | struct U_boolList_ 17 | { 18 | bool head; 19 | U_boolList tail; 20 | }; 21 | U_boolList U_BoolList(bool head, U_boolList tail); 22 | 23 | typedef struct U_intList_* U_intList; 24 | struct U_intList_ 25 | { 26 | int head; 27 | U_intList tail; 28 | }; 29 | U_intList U_IntList(int head, U_intList tail); 30 | 31 | #endif // !UTIL_H -------------------------------------------------------------------------------- /vendor/bison/bin/bison.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/bin/bison.exe -------------------------------------------------------------------------------- /vendor/bison/bin/libiconv2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/bin/libiconv2.dll -------------------------------------------------------------------------------- /vendor/bison/bin/libintl3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/bin/libintl3.dll -------------------------------------------------------------------------------- /vendor/bison/bin/m4.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/bin/m4.exe -------------------------------------------------------------------------------- /vendor/bison/bin/regex2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/bin/regex2.dll -------------------------------------------------------------------------------- /vendor/bison/bin/yacc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | exec 'c:/progra~1/bison/bin/bison' -y "$@" 3 | -------------------------------------------------------------------------------- /vendor/bison/contrib/bison/2.4.1/bison-2.4.1-src/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors of GNU Bison. 2 | 3 | Bison was written primarily by Robert Corbett. 4 | 5 | Richard Stallman made it Yacc-compatible. 6 | 7 | Wilfred Hansen of Carnegie Mellon University added multicharacter 8 | string literals and other features. 9 | -------------------------------------------------------------------------------- /vendor/bison/contrib/bison/2.4.1/bison-2.4.1-src/README-alpha: -------------------------------------------------------------------------------- 1 | -*- text -*- 2 | 3 | This is a test release of this package. Using it more or less 4 | implicitly signs you up to help us find whatever problems you report. 5 | 6 | The documentation still needs more work. Suggestions welcome. 7 | Patches even more welcome. 8 | 9 | Please send comments and problem reports about this test release to 10 | . This program will get better only if you report 11 | the problems you encounter. 12 | 13 | ----- 14 | 15 | Copyright (C) 2002, 2004 Free Software Foundation, Inc. 16 | 17 | This file is part of GNU Bison. 18 | 19 | This program is free software: you can redistribute it and/or modify 20 | it under the terms of the GNU General Public License as published by 21 | the Free Software Foundation, either version 3 of the License, or 22 | (at your option) any later version. 23 | 24 | This program is distributed in the hope that it will be useful, 25 | but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | GNU General Public License for more details. 28 | 29 | You should have received a copy of the GNU General Public License 30 | along with this program. If not, see . 31 | -------------------------------------------------------------------------------- /vendor/bison/doc/UnixV7/yacc_V7.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/UnixV7/yacc_V7.1.pdf -------------------------------------------------------------------------------- /vendor/bison/doc/UnixV7/yacc_V7.1.ps.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/UnixV7/yacc_V7.1.ps.gz -------------------------------------------------------------------------------- /vendor/bison/doc/UnixV7/yacc_V7.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/UnixV7/yacc_V7.pdf -------------------------------------------------------------------------------- /vendor/bison/doc/UnixV7/yacc_V7.ps.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/UnixV7/yacc_V7.ps.gz -------------------------------------------------------------------------------- /vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.chm -------------------------------------------------------------------------------- /vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.dvi.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.dvi.gz -------------------------------------------------------------------------------- /vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.hlp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.hlp -------------------------------------------------------------------------------- /vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.pdf -------------------------------------------------------------------------------- /vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.ps.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/doc/bison/2.4.1/bison-2.4.1/bison.ps.gz -------------------------------------------------------------------------------- /vendor/bison/include/unistd.h: -------------------------------------------------------------------------------- 1 | #ifdef __MINGW32__ 2 | 3 | # include_next 4 | 5 | #else 6 | 7 | # include 8 | # include 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /vendor/bison/info/bison.info.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/info/bison.info.gz -------------------------------------------------------------------------------- /vendor/bison/info/dir: -------------------------------------------------------------------------------- 1 | This is the file .../info/dir, which contains the 2 | topmost node of the Info hierarchy, called (dir)Top. 3 | The first time you invoke Info you start off looking at this node. 4 |  5 | File: dir, Node: Top This is the top of the INFO tree 6 | 7 | This (the Directory node) gives a menu of major topics. 8 | Typing "q" exits, "?" lists all Info commands, "d" returns here, 9 | "h" gives a primer for first-timers, 10 | "mEmacs" visits the Emacs manual, etc. 11 | 12 | In Emacs, you can click mouse button 2 on a menu item or cross reference 13 | to select it. 14 | 15 | * Menu: 16 | -------------------------------------------------------------------------------- /vendor/bison/lib/charset.alias: -------------------------------------------------------------------------------- 1 | # This file contains a table of character encoding aliases, 2 | # suitable for operating system 'mingw32'. 3 | # It was automatically generated from config.charset. 4 | # Packages using this file: bison 5 | -------------------------------------------------------------------------------- /vendor/bison/lib/liby.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/lib/liby.a -------------------------------------------------------------------------------- /vendor/bison/man/cat1/yacc.1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/man/cat1/yacc.1.txt -------------------------------------------------------------------------------- /vendor/bison/man/man1/yacc.1: -------------------------------------------------------------------------------- 1 | .TH YACC "1" "November 2007" "GNU Bison 2.4.1" "User Commands" 2 | .SH NAME 3 | yacc \- GNU Project parser generator 4 | .SH SYNOPSIS 5 | .B yacc 6 | [\fIOPTION\fR]... \fIFILE\fR 7 | .SH DESCRIPTION 8 | .I Yacc 9 | (Yet Another Compiler Compiler) is a parser generator. This 10 | version is a simple wrapper around 11 | .IR bison (1). 12 | It passes option 13 | \fB\-y\fR, \fB\-\-yacc\fR 14 | to activate the upward compatibility mode. See 15 | .IR bison (1) 16 | for more information. 17 | .SH AUTHOR 18 | Written by Paul Eggert. 19 | .SH "REPORTING BUGS" 20 | Report bugs to . 21 | .SH COPYRIGHT 22 | Copyright \(co 2008 Free Software Foundation, Inc. 23 | .br 24 | This is free software; see the source for copying conditions. There is NO 25 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 26 | .SH "SEE ALSO" 27 | .BR lex (1), 28 | .BR flex (1), 29 | .BR bison (1). 30 | .PP 31 | The full documentation for 32 | .B bison 33 | is maintained as a Texinfo manual. If the 34 | .B info 35 | and 36 | .B bison 37 | programs are properly installed at your site, the command 38 | .IP 39 | .B info bison 40 | .PP 41 | should give you access to the complete manual. 42 | -------------------------------------------------------------------------------- /vendor/bison/man/pdf/bison-man.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/man/pdf/bison-man.pdf -------------------------------------------------------------------------------- /vendor/bison/man/ps/bison-man.ps.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/man/ps/bison-man.ps.gz -------------------------------------------------------------------------------- /vendor/bison/manifest/bison-2.4.1-bin.ver: -------------------------------------------------------------------------------- 1 | Bison-2.4.1 (Yacc-compatible parser generator): Binaries 2 | -------------------------------------------------------------------------------- /vendor/bison/manifest/bison-2.4.1-dep.mft: -------------------------------------------------------------------------------- 1 | bin/libiconv2.dll 2 | bin/libintl3.dll 3 | bin/regex2.dll 4 | manifest/bison-2.4.1-dep.mft 5 | manifest/bison-2.4.1-dep.ver bb151d843339f90abdc34f5eb49bff0e 6 | -------------------------------------------------------------------------------- /vendor/bison/manifest/bison-2.4.1-dep.ver: -------------------------------------------------------------------------------- 1 | Bison-2.4.1 (Yacc-compatible parser generator): Dependencies 2 | -------------------------------------------------------------------------------- /vendor/bison/manifest/bison-2.4.1-doc.ver: -------------------------------------------------------------------------------- 1 | Bison-2.4.1 (Yacc-compatible parser generator): Documentation 2 | -------------------------------------------------------------------------------- /vendor/bison/manifest/bison-2.4.1-lib.mft: -------------------------------------------------------------------------------- 1 | include/unistd.h 4bc238c92f216ef4cb5c3ba40b46ee36 2 | lib/charset.alias 9323aa4ddc9b421417e04c9998666dea 3 | lib/liby.a 9089168505158ea732fd642d95ddb519 4 | manifest/bison-2.4.1-lib.mft 5 | manifest/bison-2.4.1-lib.ver facf4d43bed002006bc65c54e0c47530 6 | -------------------------------------------------------------------------------- /vendor/bison/manifest/bison-2.4.1-lib.ver: -------------------------------------------------------------------------------- 1 | Bison-2.4.1 (Yacc-compatible parser generator): Developer files 2 | -------------------------------------------------------------------------------- /vendor/bison/manifest/bison-2.4.1-src.ver: -------------------------------------------------------------------------------- 1 | Bison-2.4.1 (Yacc-compatible parser generator): Sources 2 | -------------------------------------------------------------------------------- /vendor/bison/share/bison/c++-skel.m4: -------------------------------------------------------------------------------- 1 | -*- Autoconf -*- 2 | 3 | # C++ skeleton dispatching for Bison. 4 | # Copyright (C) 2006, 2007 Free Software Foundation, Inc. 5 | 6 | # This program is free software: you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see . 18 | 19 | b4_glr_if( [m4_define([b4_used_skeleton], [b4_pkgdatadir/[glr.cc]])]) 20 | b4_nondeterministic_if([m4_define([b4_used_skeleton], [b4_pkgdatadir/[glr.cc]])]) 21 | 22 | m4_define_default([b4_used_skeleton], [b4_pkgdatadir/[lalr1.cc]]) 23 | m4_define_default([b4_skeleton], ["b4_basename(b4_used_skeleton)"]) 24 | 25 | m4_include(b4_used_skeleton) 26 | -------------------------------------------------------------------------------- /vendor/bison/share/bison/c-skel.m4: -------------------------------------------------------------------------------- 1 | -*- Autoconf -*- 2 | 3 | # C skeleton dispatching for Bison. 4 | # Copyright (C) 2006, 2007 Free Software Foundation, Inc. 5 | 6 | # This program is free software: you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see . 18 | 19 | b4_glr_if( [m4_define([b4_used_skeleton], [b4_pkgdatadir/[glr.c]])]) 20 | b4_nondeterministic_if([m4_define([b4_used_skeleton], [b4_pkgdatadir/[glr.c]])]) 21 | 22 | m4_define_default([b4_used_skeleton], [b4_pkgdatadir/[yacc.c]]) 23 | m4_define_default([b4_skeleton], ["b4_basename(b4_used_skeleton)"]) 24 | 25 | m4_include(b4_used_skeleton) 26 | -------------------------------------------------------------------------------- /vendor/bison/share/bison/java-skel.m4: -------------------------------------------------------------------------------- 1 | -*- Autoconf -*- 2 | 3 | # Java skeleton dispatching for Bison. 4 | # Copyright (C) 2007 Free Software Foundation, Inc. 5 | 6 | # This program is free software: you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see . 18 | 19 | b4_glr_if( [b4_complain([%%glr-parser not supported for Java])]) 20 | b4_nondeterministic_if([b4_complain([%%nondeterministic-parser not supported for Java])]) 21 | 22 | m4_define_default([b4_used_skeleton], [b4_pkgdatadir/[lalr1.java]]) 23 | m4_define_default([b4_skeleton], ["b4_basename(b4_used_skeleton)"]) 24 | 25 | m4_include(b4_used_skeleton) 26 | -------------------------------------------------------------------------------- /vendor/bison/share/locale/da/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/da/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/da/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/da/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/de/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/de/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/de/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/de/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/el/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/el/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/el/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/el/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/es/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/es/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/es/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/es/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/et/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/et/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/et/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/et/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/fi/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/fi/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/fr/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/fr/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/fr/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/fr/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ga/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ga/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ga/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ga/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/hr/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/hr/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/hr/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/hr/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/id/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/id/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/id/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/id/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/it/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/it/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/it/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/it/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ja/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ja/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ja/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ja/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ky/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ky/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/lt/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/lt/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ms/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ms/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ms/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ms/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/nb/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/nb/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/nb/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/nb/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/nl/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/nl/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/nl/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/nl/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/pl/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/pl/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/pl/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/pl/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/pt_BR/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/pt_BR/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/pt_BR/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/pt_BR/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ro/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ro/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ro/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ro/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ru/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ru/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/ru/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/ru/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/sl/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/sl/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/sv/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/sv/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/sv/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/sv/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/th/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/th/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/tr/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/tr/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/tr/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/tr/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/uk/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/uk/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/uk/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/uk/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/vi/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/vi/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/vi/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/vi/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/zh_CN/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/zh_CN/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/zh_TW/LC_MESSAGES/bison-runtime.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/zh_TW/LC_MESSAGES/bison-runtime.mo -------------------------------------------------------------------------------- /vendor/bison/share/locale/zh_TW/LC_MESSAGES/bison.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/share/locale/zh_TW/LC_MESSAGES/bison.mo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/.prev-version: -------------------------------------------------------------------------------- 1 | 2.3b 2 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/.tarball-version: -------------------------------------------------------------------------------- 1 | 2.4.1 2 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/.version: -------------------------------------------------------------------------------- 1 | 2.4.1 2 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/AUTHORS: -------------------------------------------------------------------------------- 1 | Authors of GNU Bison. 2 | 3 | Bison was written primarily by Robert Corbett. 4 | 5 | Richard Stallman made it Yacc-compatible. 6 | 7 | Wilfred Hansen of Carnegie Mellon University added multicharacter 8 | string literals and other features. 9 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/README-alpha: -------------------------------------------------------------------------------- 1 | -*- text -*- 2 | 3 | This is a test release of this package. Using it more or less 4 | implicitly signs you up to help us find whatever problems you report. 5 | 6 | The documentation still needs more work. Suggestions welcome. 7 | Patches even more welcome. 8 | 9 | Please send comments and problem reports about this test release to 10 | . This program will get better only if you report 11 | the problems you encounter. 12 | 13 | ----- 14 | 15 | Copyright (C) 2002, 2004 Free Software Foundation, Inc. 16 | 17 | This file is part of GNU Bison. 18 | 19 | This program is free software: you can redistribute it and/or modify 20 | it under the terms of the GNU General Public License as published by 21 | the Free Software Foundation, either version 3 of the License, or 22 | (at your option) any later version. 23 | 24 | This program is distributed in the hope that it will be useful, 25 | but WITHOUT ANY WARRANTY; without even the implied warranty of 26 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 | GNU General Public License for more details. 28 | 29 | You should have received a copy of the GNU General Public License 30 | along with this program. If not, see . 31 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/bison.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/bison.chm -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/build-aux/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in -*-Makefile-*- 2 | EXTRA_DIST = prev-version.txt cross-options.pl 3 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/build-aux/cross-options.pl: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env perl 2 | 3 | use warnings; 4 | use 5.005; 5 | use strict; 6 | 7 | my %option; 8 | while (<>) 9 | { 10 | if (/^\s* # Initial spaces. 11 | (?:(-\w),\s+)? # $1: Possible short option. 12 | (--[-\w]+) # $2: Long option. 13 | (\[?) # $3: '[' iff the argument is optional. 14 | (?:=([-\w]+))? # $4: Possible argument name. 15 | /x) 16 | { 17 | my ($short, $long, $opt, $arg) = ($1, $2, $3, $4); 18 | $short = defined $short ? '@option{' . $short . '}' : ''; 19 | if ($arg) 20 | { 21 | $arg =~ s/^=//; 22 | $arg = '@var{' . lc ($arg) . '}'; 23 | $arg = '[' . $arg . ']' 24 | if $opt eq '['; 25 | $option{"$long=$arg"} = $short ? "$short $arg" : ''; 26 | } 27 | else 28 | { 29 | $option{"$long"} = "$short"; 30 | } 31 | } 32 | } 33 | 34 | foreach my $long (sort keys %option) 35 | { 36 | printf "\@item %-40s \@tab %s\n", '@option{' . $long . '}', $option{$long}; 37 | } 38 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/build-aux/prev-version.txt: -------------------------------------------------------------------------------- 1 | 2.0 2 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/data/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2002, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 2 | 3 | # This program is free software: you can redistribute it and/or modify 4 | # it under the terms of the GNU General Public License as published by 5 | # the Free Software Foundation, either version 3 of the License, or 6 | # (at your option) any later version. 7 | # 8 | # This program is distributed in the hope that it will be useful, 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | # GNU General Public License for more details. 12 | # 13 | # You should have received a copy of the GNU General Public License 14 | # along with this program. If not, see . 15 | 16 | dist_pkgdata_DATA = README bison.m4 \ 17 | c-skel.m4 c.m4 yacc.c glr.c \ 18 | c++-skel.m4 c++.m4 location.cc lalr1.cc glr.cc \ 19 | java-skel.m4 java.m4 lalr1.java 20 | 21 | m4sugardir = $(pkgdatadir)/m4sugar 22 | dist_m4sugar_DATA = m4sugar/m4sugar.m4 m4sugar/foreach.m4 23 | 24 | xsltdir = $(pkgdatadir)/xslt 25 | dist_xslt_DATA = \ 26 | xslt/bison.xsl \ 27 | xslt/xml2dot.xsl \ 28 | xslt/xml2text.xsl \ 29 | xslt/xml2xhtml.xsl 30 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/data/c++-skel.m4: -------------------------------------------------------------------------------- 1 | -*- Autoconf -*- 2 | 3 | # C++ skeleton dispatching for Bison. 4 | # Copyright (C) 2006, 2007 Free Software Foundation, Inc. 5 | 6 | # This program is free software: you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see . 18 | 19 | b4_glr_if( [m4_define([b4_used_skeleton], [b4_pkgdatadir/[glr.cc]])]) 20 | b4_nondeterministic_if([m4_define([b4_used_skeleton], [b4_pkgdatadir/[glr.cc]])]) 21 | 22 | m4_define_default([b4_used_skeleton], [b4_pkgdatadir/[lalr1.cc]]) 23 | m4_define_default([b4_skeleton], ["b4_basename(b4_used_skeleton)"]) 24 | 25 | m4_include(b4_used_skeleton) 26 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/data/c-skel.m4: -------------------------------------------------------------------------------- 1 | -*- Autoconf -*- 2 | 3 | # C skeleton dispatching for Bison. 4 | # Copyright (C) 2006, 2007 Free Software Foundation, Inc. 5 | 6 | # This program is free software: you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see . 18 | 19 | b4_glr_if( [m4_define([b4_used_skeleton], [b4_pkgdatadir/[glr.c]])]) 20 | b4_nondeterministic_if([m4_define([b4_used_skeleton], [b4_pkgdatadir/[glr.c]])]) 21 | 22 | m4_define_default([b4_used_skeleton], [b4_pkgdatadir/[yacc.c]]) 23 | m4_define_default([b4_skeleton], ["b4_basename(b4_used_skeleton)"]) 24 | 25 | m4_include(b4_used_skeleton) 26 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/data/java-skel.m4: -------------------------------------------------------------------------------- 1 | -*- Autoconf -*- 2 | 3 | # Java skeleton dispatching for Bison. 4 | # Copyright (C) 2007 Free Software Foundation, Inc. 5 | 6 | # This program is free software: you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see . 18 | 19 | b4_glr_if( [b4_complain([%%glr-parser not supported for Java])]) 20 | b4_nondeterministic_if([b4_complain([%%nondeterministic-parser not supported for Java])]) 21 | 22 | m4_define_default([b4_used_skeleton], [b4_pkgdatadir/[lalr1.java]]) 23 | m4_define_default([b4_skeleton], ["b4_basename(b4_used_skeleton)"]) 24 | 25 | m4_include(b4_used_skeleton) 26 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/djgpp/config_h.sed: -------------------------------------------------------------------------------- 1 | # sed script for DJGPP specific editing of config.hin 2 | 3 | # Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 4 | 5 | # This program is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see . 17 | 18 | 19 | $ a\ 20 | \ 21 | \ 22 | /* DJGPP specific defines. */\ 23 | \ 24 | #include \ 25 | #define TAB_EXT ((pathconf(NULL, _PC_NAME_MAX) > 12) ? ".tab" : "_tab")\ 26 | #define OUTPUT_EXT ((pathconf(NULL, _PC_NAME_MAX) > 12) ? ".output" : ".out")\ 27 | \ 28 | #define DEFAULT_TMPDIR "/dev/env/DJDIR/tmp" 29 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/djgpp/subpipe.h: -------------------------------------------------------------------------------- 1 | /* Subprocesses with pipes. 2 | Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation, either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . */ 16 | 17 | /* Written by Juan Manuel Guerrero . */ 18 | 19 | #if HAVE_SYS_TYPES_H 20 | # include 21 | #endif 22 | 23 | void init_subpipe(void); 24 | pid_t create_subpipe(char const * const *, int[2]); 25 | void end_of_output_subpipe(pid_t, int[2]); 26 | void reap_subpipe(pid_t, char const *); 27 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/djgpp/testsuite.sed: -------------------------------------------------------------------------------- 1 | # DJGPP specific configuration file. 2 | # Sed script for additional DJGPP specific editing 3 | # of the testsuite script generated by autoconf 2.61. 4 | 5 | 6 | # Copyright (C) 2007, 2008 Free Software Foundation, Inc. 7 | 8 | # This program is free software: you can redistribute it and/or modify 9 | # it under the terms of the GNU General Public License as published by 10 | # the Free Software Foundation, either version 3 of the License, or 11 | # (at your option) any later version. 12 | # 13 | # This program is distributed in the hope that it will be useful, 14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | # GNU General Public License for more details. 17 | # 18 | # You should have received a copy of the GNU General Public License 19 | # along with this program. If not, see . 20 | 21 | 22 | # Remove disallowed characters from file names. 23 | 24 | s/~!@#\\\$%^&\*()-=_+{}\[\]|\\\\:;<>, ./~!@#\\$%^\&()-=_+{}[];, ./g 25 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/doc/common.x: -------------------------------------------------------------------------------- 1 | [see also] 2 | .BR lex (1), 3 | .BR flex (1), 4 | .BR yacc (1). 5 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/doc/stamp-vti: -------------------------------------------------------------------------------- 1 | @set UPDATED 19 November 2008 2 | @set UPDATED-MONTH November 2008 3 | @set EDITION 2.4.1 4 | @set VERSION 2.4.1 5 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/doc/version.texi: -------------------------------------------------------------------------------- 1 | @set UPDATED 19 November 2008 2 | @set UPDATED-MONTH November 2008 3 | @set EDITION 2.4.1 4 | @set VERSION 2.4.1 5 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/doc/yacc.1.in: -------------------------------------------------------------------------------- 1 | .TH YACC "1" "November 2007" "@PACKAGE_STRING@" "User Commands" 2 | .SH NAME 3 | yacc \- GNU Project parser generator 4 | .SH SYNOPSIS 5 | .B yacc 6 | [\fIOPTION\fR]... \fIFILE\fR 7 | .SH DESCRIPTION 8 | .I Yacc 9 | (Yet Another Compiler Compiler) is a parser generator. This 10 | version is a simple wrapper around 11 | .IR bison (1). 12 | It passes option 13 | \fB\-y\fR, \fB\-\-yacc\fR 14 | to activate the upward compatibility mode. See 15 | .IR bison (1) 16 | for more information. 17 | .SH AUTHOR 18 | Written by Paul Eggert. 19 | .SH "REPORTING BUGS" 20 | Report bugs to <@PACKAGE_BUGREPORT@>. 21 | .SH COPYRIGHT 22 | Copyright \(co @PACKAGE_COPYRIGHT_YEAR@ Free Software Foundation, Inc. 23 | .br 24 | This is free software; see the source for copying conditions. There is NO 25 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 26 | .SH "SEE ALSO" 27 | .BR lex (1), 28 | .BR flex (1), 29 | .BR bison (1). 30 | .PP 31 | The full documentation for 32 | .B bison 33 | is maintained as a Texinfo manual. If the 34 | .B info 35 | and 36 | .B bison 37 | programs are properly installed at your site, the command 38 | .IP 39 | .B info bison 40 | .PP 41 | should give you access to the complete manual. 42 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/etc/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2006 Free Software Foundation, Inc. 2 | 3 | # This program is free software: you can redistribute it and/or modify 4 | # it under the terms of the GNU General Public License as published by 5 | # the Free Software Foundation, either version 3 of the License, or 6 | # (at your option) any later version. 7 | # 8 | # This program is distributed in the hope that it will be useful, 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | # GNU General Public License for more details. 12 | # 13 | # You should have received a copy of the GNU General Public License 14 | # along with this program. If not, see . 15 | 16 | nodist_noinst_SCRIPTS = bench.pl 17 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/examples/Makefile.am: -------------------------------------------------------------------------------- 1 | ## Process this file with automake to produce Makefile.in -*-Makefile-*- 2 | ## Copyright (C) 2005 Free Software Foundation, Inc. 3 | 4 | # This program is free software: you can redistribute it and/or modify 5 | # it under the terms of the GNU General Public License as published by 6 | # the Free Software Foundation, either version 3 of the License, or 7 | # (at your option) any later version. 8 | # 9 | # This program is distributed in the hope that it will be useful, 10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | # GNU General Public License for more details. 13 | # 14 | # You should have received a copy of the GNU General Public License 15 | # along with this program. If not, see . 16 | 17 | if BISON_CXX_WORKS 18 | SUBDIRS = calc++ 19 | endif 20 | 21 | dist_noinst_SCRIPTS = extexi 22 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/calc++-driver.cc: -------------------------------------------------------------------------------- 1 | #line 8370 "../../doc/bison.texinfo" 2 | #include "calc++-driver.hh" 3 | #include "calc++-parser.hh" 4 | 5 | calcxx_driver::calcxx_driver () 6 | : trace_scanning (false), trace_parsing (false) 7 | { 8 | variables["one"] = 1; 9 | variables["two"] = 2; 10 | } 11 | 12 | calcxx_driver::~calcxx_driver () 13 | { 14 | } 15 | 16 | int 17 | calcxx_driver::parse (const std::string &f) 18 | { 19 | file = f; 20 | scan_begin (); 21 | yy::calcxx_parser parser (*this); 22 | parser.set_debug_level (trace_parsing); 23 | int res = parser.parse (); 24 | scan_end (); 25 | return res; 26 | } 27 | 28 | void 29 | calcxx_driver::error (const yy::location& l, const std::string& m) 30 | { 31 | std::cerr << l << ": " << m << std::endl; 32 | } 33 | 34 | void 35 | calcxx_driver::error (const std::string& m) 36 | { 37 | std::cerr << m << std::endl; 38 | } 39 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/calc++-parser.stamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/calc++-parser.stamp -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/calc++.cc: -------------------------------------------------------------------------------- 1 | #line 8712 "../../doc/bison.texinfo" 2 | #include 3 | #include "calc++-driver.hh" 4 | 5 | int 6 | main (int argc, char *argv[]) 7 | { 8 | calcxx_driver driver; 9 | for (++argv; argv[0]; ++argv) 10 | if (*argv == std::string ("-p")) 11 | driver.trace_parsing = true; 12 | else if (*argv == std::string ("-s")) 13 | driver.trace_scanning = true; 14 | else if (!driver.parse (*argv)) 15 | std::cout << driver.result << std::endl; 16 | } 17 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/examples/calc++/test: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | test -z "$VERBOSE" && { 4 | exec > /dev/null 2>&1 5 | set -x 6 | } 7 | 8 | cat >input <input <input <. */ 17 | 18 | #ifndef _ABITSET_H 19 | #define _ABITSET_H 20 | 21 | #include "bitset.h" 22 | 23 | extern size_t abitset_bytes (bitset_bindex); 24 | 25 | extern bitset abitset_init (bitset, bitset_bindex); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/areadlink.h: -------------------------------------------------------------------------------- 1 | /* Read symbolic links without size limitation. 2 | 3 | Copyright (C) 2001, 2003, 2004, 2007 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | /* Written by Jim Meyering */ 19 | 20 | #include 21 | 22 | extern char *areadlink (char const *filename); 23 | extern char *areadlink_with_size (char const *filename, size_t size_hint); 24 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/bitset_stats.h: -------------------------------------------------------------------------------- 1 | /* Functions to support bitset statistics. 2 | Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. 3 | Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | #ifndef _BITSET_STATS_H 19 | #define _BITSET_STATS_H 20 | 21 | #include "bbitset.h" 22 | 23 | extern bool bitset_stats_enabled; 24 | 25 | extern enum bitset_type bitset_stats_type_get (bitset); 26 | 27 | extern size_t bitset_stats_bytes (void); 28 | 29 | extern bitset bitset_stats_init (bitset, bitset_bindex, enum bitset_type); 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/bitsetv-print.h: -------------------------------------------------------------------------------- 1 | /* Bitset vectors. 2 | Copyright (C) 2002, 2004 Free Software Foundation, Inc. 3 | Contributed by Akim Demaille (akim@freefriends.org). 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | #ifndef _BITSETV_PRINT_H 19 | #define _BITSETV_PRINT_H 20 | 21 | #include "bitsetv.h" 22 | 23 | /* Dump vector of bitsets as a matrix. */ 24 | extern void bitsetv_matrix_dump (FILE *, const char *, bitsetv); 25 | 26 | #endif /* _BITSETV_H */ 27 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/confsys.h: -------------------------------------------------------------------------------- 1 | #ifndef _CONFSYS_H_ 2 | #define _CONFSYS_H_ 1 3 | 4 | #ifdef _WIN32 5 | # define close _close 6 | # define dup _dup 7 | # define dup2 _dup2 8 | # define fdopen _fdopen 9 | # define setmode _setmode 10 | # define spawnvp _spawnvp 11 | # define strdup _strdup 12 | #endif /* _WIN32 */ 13 | 14 | #endif /* _CONFSYS_H_ */ 15 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/ebitset.h: -------------------------------------------------------------------------------- 1 | /* Functions to support ebitsets. 2 | Copyright (C) 2002, 2004 Free Software Foundation, Inc. 3 | Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | #ifndef _EBITSET_H 19 | #define _EBITSET_H 20 | 21 | #include "bitset.h" 22 | 23 | extern size_t ebitset_bytes (bitset_bindex); 24 | 25 | extern bitset ebitset_init (bitset, bitset_bindex); 26 | 27 | extern void ebitset_release_memory (void); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/exitfail.c: -------------------------------------------------------------------------------- 1 | /* Failure exit status 2 | 3 | Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | #include 19 | 20 | #include "exitfail.h" 21 | 22 | #include 23 | 24 | int volatile exit_failure = EXIT_FAILURE; 25 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/exitfail.h: -------------------------------------------------------------------------------- 1 | /* Failure exit status 2 | 3 | Copyright (C) 2002 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | extern int volatile exit_failure; 19 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/get-errno.h: -------------------------------------------------------------------------------- 1 | /* get-errno.h - get and set errno. 2 | 3 | Copyright (C) 2002 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | extern int get_errno (void); 19 | extern void set_errno (int); 20 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/lbitset.h: -------------------------------------------------------------------------------- 1 | /* Functions to support lbitsets. 2 | Copyright (C) 2002, 2004 Free Software Foundation, Inc. 3 | Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | #ifndef _LBITSET_H 19 | #define _LBITSET_H 20 | 21 | #include "bitset.h" 22 | 23 | extern size_t lbitset_bytes (bitset_bindex); 24 | 25 | extern bitset lbitset_init (bitset, bitset_bindex); 26 | 27 | extern void lbitset_release_memory (void); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/main.c: -------------------------------------------------------------------------------- 1 | /* Yacc library main function. 2 | 3 | Copyright (C) 2002 Free Software Foundation, Inc. 4 | 5 | This file is part of Bison, the GNU Compiler Compiler. 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . */ 19 | 20 | #include 21 | 22 | #if HAVE_LOCALE_H 23 | # include 24 | #endif 25 | #if ! HAVE_SETLOCALE 26 | # define setlocale(Category, Locale) 27 | #endif 28 | 29 | int yyparse (void); 30 | 31 | int 32 | main (void) 33 | { 34 | setlocale (LC_ALL, ""); 35 | return yyparse (); 36 | } 37 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/quote.h: -------------------------------------------------------------------------------- 1 | /* quote.h - prototypes for quote.c 2 | 3 | Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software 4 | Foundation, Inc. 5 | 6 | This program is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation; either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . */ 18 | 19 | 20 | char const *quote_n (int n, char const *name); 21 | char const *quote (char const *name); 22 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/ref-add.sin: -------------------------------------------------------------------------------- 1 | # Add this package to a list of references stored in a text file. 2 | # 3 | # Copyright (C) 2000 Free Software Foundation, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 3, or (at your option) 8 | # any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License along 16 | # with this program; if not, write to the Free Software Foundation, 17 | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 | # 19 | # Written by Bruno Haible . 20 | # 21 | /^# Packages using this file: / { 22 | s/# Packages using this file:// 23 | ta 24 | :a 25 | s/ @PACKAGE@ / @PACKAGE@ / 26 | tb 27 | s/ $/ @PACKAGE@ / 28 | :b 29 | s/^/# Packages using this file:/ 30 | } 31 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/ref-del.sin: -------------------------------------------------------------------------------- 1 | # Remove this package from a list of references stored in a text file. 2 | # 3 | # Copyright (C) 2000 Free Software Foundation, Inc. 4 | # 5 | # This program is free software; you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation; either version 3, or (at your option) 8 | # any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License along 16 | # with this program; if not, write to the Free Software Foundation, 17 | # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 18 | # 19 | # Written by Bruno Haible . 20 | # 21 | /^# Packages using this file: / { 22 | s/# Packages using this file:// 23 | s/ @PACKAGE@ / / 24 | s/^/# Packages using this file:/ 25 | } 26 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/stdio--.h: -------------------------------------------------------------------------------- 1 | /* Like stdio.h, but redefine some names to avoid glitches. 2 | 3 | Copyright (C) 2005, 2006 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | /* Written by Paul Eggert. */ 19 | 20 | #include 21 | #include "stdio-safer.h" 22 | 23 | #undef fopen 24 | #define fopen fopen_safer 25 | 26 | #undef tmpfile 27 | #define tmpfile tmpfile_safer 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/stdio-safer.h: -------------------------------------------------------------------------------- 1 | /* Invoke stdio functions, but avoid some glitches. 2 | 3 | Copyright (C) 2001, 2003, 2006 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | /* Written by Paul Eggert. */ 19 | 20 | #include 21 | 22 | FILE *fopen_safer (char const *, char const *); 23 | FILE *tmpfile_safer (void); 24 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/strtoul.c: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 1991, 1997 Free Software Foundation, Inc. 2 | This file is part of the GNU C Library. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation; either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . */ 16 | 17 | #define UNSIGNED 1 18 | 19 | #include "strtol.c" 20 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/subpipe.h: -------------------------------------------------------------------------------- 1 | /* Subprocesses with pipes. 2 | Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. 3 | 4 | This program is free software: you can redistribute it and/or modify 5 | it under the terms of the GNU General Public License as published by 6 | the Free Software Foundation, either version 3 of the License, or 7 | (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | GNU General Public License for more details. 13 | 14 | You should have received a copy of the GNU General Public License 15 | along with this program. If not, see . */ 16 | 17 | /* Written by Paul Eggert 18 | and Florian Krohm . */ 19 | 20 | #if HAVE_SYS_TYPES_H 21 | # include 22 | #endif 23 | 24 | void init_subpipe (void); 25 | pid_t create_subpipe (char const * const *, int[2]); 26 | void end_of_output_subpipe (pid_t, int[2]); 27 | void reap_subpipe (pid_t, char const *); 28 | #ifdef _WIN32 29 | # include 30 | # include 31 | # define pipe(a) _pipe((a), 0, O_NOINHERIT) 32 | #endif 33 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/unistd--.h: -------------------------------------------------------------------------------- 1 | /* Like unistd.h, but redefine some names to avoid glitches. 2 | 3 | Copyright (C) 2005 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | /* Written by Paul Eggert. */ 19 | 20 | #include 21 | #include "unistd-safer.h" 22 | 23 | #undef dup 24 | #define dup dup_safer 25 | 26 | #undef pipe 27 | #define pipe pipe_safer 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/unistd-safer.h: -------------------------------------------------------------------------------- 1 | /* Invoke unistd-like functions, but avoid some glitches. 2 | 3 | Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | /* Written by Paul Eggert. */ 19 | 20 | int dup_safer (int); 21 | int fd_safer (int); 22 | int pipe_safer (int[2]); 23 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/unitypes.h: -------------------------------------------------------------------------------- 1 | /* -*- buffer-read-only: t -*- vi: set ro: */ 2 | /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ 3 | /* Elementary types for the GNU UniString library. 4 | Copyright (C) 2002, 2005-2006 Free Software Foundation, Inc. 5 | 6 | This program is free software: you can redistribute it and/or modify it 7 | under the terms of the GNU General Public License as published 8 | by the Free Software Foundation; either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | Lesser General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . */ 18 | 19 | #ifndef _UNITYPES_H 20 | #define _UNITYPES_H 21 | 22 | /* Get uint8_t, uint16_t, uint32_t. */ 23 | #include 24 | 25 | /* Type representing a Unicode character. */ 26 | typedef uint32_t ucs4_t; 27 | 28 | #endif /* _UNITYPES_H */ 29 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/vbitset.h: -------------------------------------------------------------------------------- 1 | /* Functions to support vbitsets. 2 | Copyright (C) 2002, 2004 Free Software Foundation, Inc. 3 | Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz). 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | #ifndef _VBITSET_H 19 | #define _VBITSET_H 20 | 21 | #include "bitset.h" 22 | 23 | extern size_t vbitset_bytes (bitset_bindex); 24 | 25 | extern bitset vbitset_init (bitset, bitset_bindex); 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/xstrndup.h: -------------------------------------------------------------------------------- 1 | /* Duplicate a bounded initial segment of a string, with out-of-memory 2 | checking. 3 | Copyright (C) 2003 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | #include 19 | 20 | /* Return a newly allocated copy of at most N bytes of STRING. 21 | In other words, return a copy of the initial segment of length N of 22 | STRING. */ 23 | extern char *xstrndup (const char *string, size_t n); 24 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/lib/yyerror.c: -------------------------------------------------------------------------------- 1 | /* Yacc library error-printing function. 2 | 3 | Copyright (C) 2002 Free Software Foundation, Inc. 4 | 5 | This file is part of Bison, the GNU Compiler Compiler. 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . */ 19 | 20 | #include 21 | 22 | int yyerror (char const *); 23 | 24 | int 25 | yyerror (char const *message) 26 | { 27 | return fprintf (stderr, "%s\n", message); 28 | } 29 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/argmatch.m4: -------------------------------------------------------------------------------- 1 | #serial 3 2 | dnl Copyright (C) 2005, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_ARGMATCH], 8 | [ 9 | AC_LIBOBJ([argmatch]) 10 | ]) 11 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/c-working.m4: -------------------------------------------------------------------------------- 1 | # Sanity test a C compiler. 2 | 3 | # Copyright (C) 2006 Free Software Foundation, Inc. 4 | # 5 | # This program is free software: you can redistribute it and/or modify 6 | # it under the terms of the GNU General Public License as published by 7 | # the Free Software Foundation, either version 3 of the License, or 8 | # (at your option) any later version. 9 | # 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | # GNU General Public License for more details. 14 | # 15 | # You should have received a copy of the GNU General Public License 16 | # along with this program. If not, see . 17 | 18 | # Written by Paul Eggert. 19 | 20 | AC_DEFUN([BISON_TEST_FOR_WORKING_C_COMPILER], [ 21 | AC_COMPILE_IFELSE( 22 | [AC_LANG_PROGRAM( 23 | [[#include 24 | int test_array[CHAR_BIT];]])], 25 | [], 26 | [AC_MSG_FAILURE([cannot compile a simple C program])]) 27 | ]) 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/config-h.m4: -------------------------------------------------------------------------------- 1 | # Say that -DHAVE_CONFIG_H is not needed. 2 | 3 | dnl Copyright (C) 2006 Free Software Foundation, Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | dnl Written by Paul Eggert. 9 | 10 | # This package's source files all include config.h unconditionally, 11 | # so there's no need to pass -DHAVE_CONFIG_H to the compiler. 12 | AC_DEFUN([gl_CONFIG_H], 13 | [AC_CONFIG_COMMANDS_PRE([test "X$DEFS" = X-DHAVE_CONFIG_H && DEFS=])]) 14 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/dirname.m4: -------------------------------------------------------------------------------- 1 | #serial 7 -*- autoconf -*- 2 | dnl Copyright (C) 2002-2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_DIRNAME], 8 | [ 9 | AC_LIBOBJ([basename]) 10 | AC_LIBOBJ([dirname]) 11 | AC_LIBOBJ([stripslash]) 12 | 13 | dnl Prerequisites of lib/dirname.h. 14 | AC_REQUIRE([gl_AC_DOS]) 15 | AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) 16 | 17 | dnl No prerequisites of lib/basename.c, lib/dirname.c, lib/stripslash.c. 18 | ]) 19 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/dmalloc.m4: -------------------------------------------------------------------------------- 1 | ## ----------------------------------- ## 2 | ## Check if --with-dmalloc was given. ## 3 | ## From Franc,ois Pinard ## 4 | ## ----------------------------------- ## 5 | 6 | # serial 1 7 | 8 | AC_DEFUN([AM_WITH_DMALLOC], 9 | [AC_MSG_CHECKING([if malloc debugging is wanted]) 10 | AC_ARG_WITH(dmalloc, 11 | [ --with-dmalloc use dmalloc, as in 12 | http://www.dmalloc.com/dmalloc.tar.gz], 13 | [if test "$withval" = yes; then 14 | AC_MSG_RESULT(yes) 15 | AC_DEFINE(WITH_DMALLOC,1, 16 | [Define if using the dmalloc debugging malloc package]) 17 | LIBS="$LIBS -ldmalloc" 18 | LDFLAGS="$LDFLAGS -g" 19 | else 20 | AC_MSG_RESULT(no) 21 | fi], [AC_MSG_RESULT(no)]) 22 | ]) 23 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/environ.m4: -------------------------------------------------------------------------------- 1 | # environ.m4 serial 1 2 | dnl Copyright (C) 2001-2004, 2006-2008 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_ENVIRON], 8 | [ 9 | AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) 10 | dnl Persuade glibc to declare environ. 11 | AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) 12 | gt_CHECK_VAR_DECL([#include ], environ) 13 | if test $gt_cv_var_environ_declaration != yes; then 14 | HAVE_DECL_ENVIRON=0 15 | fi 16 | ]) 17 | 18 | # Check if a variable is properly declared. 19 | # gt_CHECK_VAR_DECL(includes,variable) 20 | AC_DEFUN([gt_CHECK_VAR_DECL], 21 | [ 22 | define([gt_cv_var], [gt_cv_var_]$2[_declaration]) 23 | AC_MSG_CHECKING([if $2 is properly declared]) 24 | AC_CACHE_VAL(gt_cv_var, [ 25 | AC_TRY_COMPILE([$1 26 | extern struct { int foo; } $2;], 27 | [$2.foo = 1;], 28 | gt_cv_var=no, 29 | gt_cv_var=yes)]) 30 | AC_MSG_RESULT($gt_cv_var) 31 | if test $gt_cv_var = yes; then 32 | AC_DEFINE([HAVE_]translit($2, [a-z], [A-Z])[_DECL], 1, 33 | [Define if you have the declaration of $2.]) 34 | fi 35 | undefine([gt_cv_var]) 36 | ]) 37 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/error.m4: -------------------------------------------------------------------------------- 1 | #serial 11 2 | 3 | # Copyright (C) 1996, 1997, 1998, 2001, 2002, 2003, 2004 Free Software 4 | # Foundation, Inc. 5 | # 6 | # This file is free software; the Free Software Foundation 7 | # gives unlimited permission to copy and/or distribute it, 8 | # with or without modifications, as long as this notice is preserved. 9 | 10 | AC_DEFUN([gl_ERROR], 11 | [ 12 | AC_FUNC_ERROR_AT_LINE 13 | dnl Note: AC_FUNC_ERROR_AT_LINE does AC_LIBSOURCES([error.h, error.c]). 14 | gl_PREREQ_ERROR 15 | ]) 16 | 17 | # Prerequisites of lib/error.c. 18 | AC_DEFUN([gl_PREREQ_ERROR], 19 | [ 20 | AC_REQUIRE([AC_FUNC_STRERROR_R]) 21 | : 22 | ]) 23 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/exitfail.m4: -------------------------------------------------------------------------------- 1 | # exitfail.m4 serial 6 2 | dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_EXITFAIL], 8 | [ 9 | AC_LIBOBJ([exitfail]) 10 | 11 | dnl No prerequisites of lib/exitfail.c. 12 | : 13 | ]) 14 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/hash.m4: -------------------------------------------------------------------------------- 1 | # hash.m4 serial 6 2 | dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_HASH], 8 | [ 9 | AC_LIBOBJ([hash]) 10 | 11 | dnl Prerequisites of lib/hash.c. 12 | AC_REQUIRE([AM_STDBOOL_H]) 13 | ]) 14 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/inttypes-pri.m4: -------------------------------------------------------------------------------- 1 | # inttypes-pri.m4 serial 4 (gettext-0.16) 2 | dnl Copyright (C) 1997-2002, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | 9 | AC_PREREQ(2.52) 10 | 11 | # Define PRI_MACROS_BROKEN if exists and defines the PRI* 12 | # macros to non-string values. This is the case on AIX 4.3.3. 13 | 14 | AC_DEFUN([gt_INTTYPES_PRI], 15 | [ 16 | AC_CHECK_HEADERS([inttypes.h]) 17 | if test $ac_cv_header_inttypes_h = yes; then 18 | AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], 19 | gt_cv_inttypes_pri_broken, 20 | [ 21 | AC_TRY_COMPILE([#include 22 | #ifdef PRId32 23 | char *p = PRId32; 24 | #endif 25 | ], [], gt_cv_inttypes_pri_broken=no, gt_cv_inttypes_pri_broken=yes) 26 | ]) 27 | fi 28 | if test "$gt_cv_inttypes_pri_broken" = yes; then 29 | AC_DEFINE_UNQUOTED(PRI_MACROS_BROKEN, 1, 30 | [Define if exists and defines unusable PRI* macros.]) 31 | PRI_MACROS_BROKEN=1 32 | else 33 | PRI_MACROS_BROKEN=0 34 | fi 35 | AC_SUBST([PRI_MACROS_BROKEN]) 36 | ]) 37 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/localcharset.m4: -------------------------------------------------------------------------------- 1 | # localcharset.m4 serial 5 2 | dnl Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_LOCALCHARSET], 8 | [ 9 | dnl Prerequisites of lib/localcharset.c. 10 | AC_REQUIRE([AM_LANGINFO_CODESET]) 11 | AC_CHECK_DECLS_ONCE(getc_unlocked) 12 | 13 | dnl Prerequisites of the lib/Makefile.am snippet. 14 | AC_REQUIRE([AC_CANONICAL_HOST]) 15 | AC_REQUIRE([gl_GLIBC21]) 16 | ]) 17 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/m4.m4: -------------------------------------------------------------------------------- 1 | # Copyright 2000 Free Software Foundation, Inc. 2 | # 3 | # This program is free software: you can redistribute it and/or modify 4 | # it under the terms of the GNU General Public License as published by 5 | # the Free Software Foundation, either version 3 of the License, or 6 | # (at your option) any later version. 7 | # 8 | # This program is distributed in the hope that it will be useful, 9 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 | # GNU General Public License for more details. 12 | # 13 | # You should have received a copy of the GNU General Public License 14 | # along with this program. If not, see . 15 | 16 | # BISON_PROG_GNU_M4 17 | # ----------------- 18 | # Check for GNU m4, at least 1.3 (supports frozen files). 19 | AC_DEFUN([BISON_PROG_GNU_M4], 20 | [AC_PATH_PROGS(M4, gm4 gnum4 m4, m4) 21 | AC_CACHE_CHECK(whether m4 supports frozen files, ac_cv_prog_gnu_m4, 22 | [ac_cv_prog_gnu_m4=no 23 | if test x"$M4" != x; then 24 | case `$M4 --help < /dev/null 2>&1` in 25 | *reload-state*) ac_cv_prog_gnu_m4=yes ;; 26 | esac 27 | fi])]) 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/mbrtowc.m4: -------------------------------------------------------------------------------- 1 | # mbrtowc.m4 serial 8 2 | dnl Copyright (C) 2001-2002, 2004-2005 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Paul Eggert 8 | 9 | dnl This file can be removed, and gl_FUNC_MBRTOWC replaced with 10 | dnl AC_FUNC_MBRTOWC, when autoconf 2.60 can be assumed everywhere. 11 | 12 | AC_DEFUN([gl_FUNC_MBRTOWC], 13 | [ 14 | dnl Same as AC_FUNC_MBRTOWC in autoconf-2.60. 15 | AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared], 16 | gl_cv_func_mbrtowc, 17 | [AC_LINK_IFELSE( 18 | [AC_LANG_PROGRAM( 19 | [[#include ]], 20 | [[wchar_t wc; 21 | char const s[] = ""; 22 | size_t n = 1; 23 | mbstate_t state; 24 | return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));]])], 25 | gl_cv_func_mbrtowc=yes, 26 | gl_cv_func_mbrtowc=no)]) 27 | if test $gl_cv_func_mbrtowc = yes; then 28 | AC_DEFINE([HAVE_MBRTOWC], 1, 29 | [Define to 1 if mbrtowc and mbstate_t are properly declared.]) 30 | fi 31 | ]) 32 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/mbstate_t.m4: -------------------------------------------------------------------------------- 1 | # mbstate_t.m4 serial 10 2 | dnl Copyright (C) 2000-2002, 2008 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | # From Paul Eggert. 8 | 9 | # BeOS 5 has but does not define mbstate_t, 10 | # so you can't declare an object of that type. 11 | # Check for this incompatibility with Standard C. 12 | 13 | # AC_TYPE_MBSTATE_T 14 | # ----------------- 15 | AC_DEFUN([AC_TYPE_MBSTATE_T], 16 | [AC_CACHE_CHECK([for mbstate_t], ac_cv_type_mbstate_t, 17 | [AC_COMPILE_IFELSE( 18 | [AC_LANG_PROGRAM( 19 | [AC_INCLUDES_DEFAULT[ 20 | # include ]], 21 | [[mbstate_t x; return sizeof x;]])], 22 | [ac_cv_type_mbstate_t=yes], 23 | [ac_cv_type_mbstate_t=no])]) 24 | if test $ac_cv_type_mbstate_t = yes; then 25 | AC_DEFINE([HAVE_MBSTATE_T], 1, 26 | [Define to 1 if declares mbstate_t.]) 27 | else 28 | AC_DEFINE([mbstate_t], int, 29 | [Define to a type if does not define.]) 30 | fi]) 31 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/quote.m4: -------------------------------------------------------------------------------- 1 | # quote.m4 serial 5 2 | dnl Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_QUOTE], 8 | [ 9 | AC_LIBOBJ([quote]) 10 | 11 | dnl Prerequisites of lib/quote.c. 12 | dnl (none) 13 | ]) 14 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/quotearg.m4: -------------------------------------------------------------------------------- 1 | # quotearg.m4 serial 6 2 | dnl Copyright (C) 2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_QUOTEARG], 8 | [ 9 | AC_LIBOBJ([quotearg]) 10 | 11 | dnl Prerequisites of lib/quotearg.c. 12 | AC_CHECK_FUNCS_ONCE([mbsinit]) 13 | AC_TYPE_MBSTATE_T 14 | gl_FUNC_MBRTOWC 15 | ]) 16 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/stdio-safer.m4: -------------------------------------------------------------------------------- 1 | #serial 10 2 | dnl Copyright (C) 2002, 2005-2007 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FOPEN_SAFER], 8 | [ 9 | AC_LIBOBJ([fopen-safer]) 10 | ]) 11 | 12 | AC_DEFUN([gl_TMPFILE_SAFER], 13 | [ 14 | AC_LIBOBJ([tmpfile-safer]) 15 | ]) 16 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/stpcpy.m4: -------------------------------------------------------------------------------- 1 | # stpcpy.m4 serial 6 2 | dnl Copyright (C) 2002, 2007 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_STPCPY], 8 | [ 9 | dnl Persuade glibc to declare stpcpy(). 10 | AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) 11 | 12 | dnl The stpcpy() declaration in lib/string.in.h uses 'restrict'. 13 | AC_REQUIRE([AC_C_RESTRICT]) 14 | 15 | AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) 16 | AC_REPLACE_FUNCS(stpcpy) 17 | if test $ac_cv_func_stpcpy = no; then 18 | HAVE_STPCPY=0 19 | gl_PREREQ_STPCPY 20 | fi 21 | ]) 22 | 23 | # Prerequisites of lib/stpcpy.c. 24 | AC_DEFUN([gl_PREREQ_STPCPY], [ 25 | : 26 | ]) 27 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/strnlen.m4: -------------------------------------------------------------------------------- 1 | # strnlen.m4 serial 9 2 | dnl Copyright (C) 2002-2003, 2005-2007 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_STRNLEN], 8 | [ 9 | dnl Persuade glibc to declare strnlen(). 10 | AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) 11 | 12 | AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) 13 | AC_CHECK_DECLS_ONCE([strnlen]) 14 | if test $ac_cv_have_decl_strnlen = no; then 15 | HAVE_DECL_STRNLEN=0 16 | fi 17 | 18 | AC_FUNC_STRNLEN 19 | if test $ac_cv_func_strnlen_working = no; then 20 | # This is necessary because automake-1.6.1 doesn't understand 21 | # that the above use of AC_FUNC_STRNLEN means we may have to use 22 | # lib/strnlen.c. 23 | #AC_LIBOBJ(strnlen) 24 | AC_DEFINE(strnlen, rpl_strnlen, 25 | [Define to rpl_strnlen if the replacement function should be used.]) 26 | gl_PREREQ_STRNLEN 27 | fi 28 | ]) 29 | 30 | # Prerequisites of lib/strnlen.c. 31 | AC_DEFUN([gl_PREREQ_STRNLEN], [:]) 32 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/strtol.m4: -------------------------------------------------------------------------------- 1 | # strtol.m4 serial 4 2 | dnl Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_STRTOL], 8 | [ 9 | AC_REPLACE_FUNCS(strtol) 10 | ]) 11 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/strtoul.m4: -------------------------------------------------------------------------------- 1 | # strtoul.m4 serial 3 2 | dnl Copyright (C) 2002, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_FUNC_STRTOUL], 8 | [ 9 | AC_REPLACE_FUNCS(strtoul) 10 | ]) 11 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/strverscmp.m4: -------------------------------------------------------------------------------- 1 | # strverscmp.m4 serial 6 2 | dnl Copyright (C) 2002, 2005, 2006, 2007, 2008 Free Software 3 | dnl Foundation, Inc. 4 | dnl This file is free software; the Free Software Foundation 5 | dnl gives unlimited permission to copy and/or distribute it, 6 | dnl with or without modifications, as long as this notice is preserved. 7 | 8 | AC_DEFUN([gl_FUNC_STRVERSCMP], 9 | [ 10 | dnl Persuade glibc to declare strverscmp(). 11 | AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) 12 | 13 | AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) 14 | AC_REPLACE_FUNCS(strverscmp) 15 | if test $ac_cv_func_strverscmp = no; then 16 | gl_PREREQ_STRVERSCMP 17 | HAVE_STRVERSCMP=0 18 | fi 19 | ]) 20 | 21 | # Prerequisites of lib/strverscmp.c. 22 | AC_DEFUN([gl_PREREQ_STRVERSCMP], [ 23 | : 24 | ]) 25 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/subpipe.m4: -------------------------------------------------------------------------------- 1 | # -*- Autoconf -*- 2 | # Checks required to run `subpipe'. 3 | # 4 | # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. 5 | # 6 | # This program is free software: you can redistribute it and/or modify 7 | # it under the terms of the GNU General Public License as published by 8 | # the Free Software Foundation, either version 3 of the License, or 9 | # (at your option) any later version. 10 | # 11 | # This program is distributed in the hope that it will be useful, 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | # GNU General Public License for more details. 15 | # 16 | # You should have received a copy of the GNU General Public License 17 | # along with this program. If not, see . 18 | 19 | # Written by Paul Eggert . 20 | 21 | AC_DEFUN([BISON_PREREQ_SUBPIPE], 22 | [ 23 | AC_TYPE_PID_T 24 | AC_HEADER_SYS_WAIT 25 | AC_CHECK_FUNCS(dup2 waitpid) 26 | AC_FUNC_FORK 27 | ]) 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/unistd-safer.m4: -------------------------------------------------------------------------------- 1 | #serial 8 2 | dnl Copyright (C) 2002, 2005, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_UNISTD_SAFER], 8 | [ 9 | AC_CHECK_FUNCS_ONCE([pipe]) 10 | AC_LIBOBJ([dup-safer]) 11 | AC_LIBOBJ([fd-safer]) 12 | AC_LIBOBJ([pipe-safer]) 13 | ]) 14 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/wchar_t.m4: -------------------------------------------------------------------------------- 1 | # wchar_t.m4 serial 1 (gettext-0.12) 2 | dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether has the 'wchar_t' type. 9 | dnl Prerequisite: AC_PROG_CC 10 | 11 | AC_DEFUN([gt_TYPE_WCHAR_T], 12 | [ 13 | AC_CACHE_CHECK([for wchar_t], gt_cv_c_wchar_t, 14 | [AC_TRY_COMPILE([#include 15 | wchar_t foo = (wchar_t)'\0';], , 16 | gt_cv_c_wchar_t=yes, gt_cv_c_wchar_t=no)]) 17 | if test $gt_cv_c_wchar_t = yes; then 18 | AC_DEFINE(HAVE_WCHAR_T, 1, [Define if you have the 'wchar_t' type.]) 19 | fi 20 | ]) 21 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/wint_t.m4: -------------------------------------------------------------------------------- 1 | # wint_t.m4 serial 2 (gettext-0.17) 2 | dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | dnl From Bruno Haible. 8 | dnl Test whether has the 'wint_t' type. 9 | dnl Prerequisite: AC_PROG_CC 10 | 11 | AC_DEFUN([gt_TYPE_WINT_T], 12 | [ 13 | AC_CACHE_CHECK([for wint_t], gt_cv_c_wint_t, 14 | [AC_TRY_COMPILE([ 15 | /* Tru64 with Desktop Toolkit C has a bug: must be included before 16 | . 17 | BSD/OS 4.0.1 has a bug: , and must be included 18 | before . */ 19 | #include 20 | #include 21 | #include 22 | #include 23 | wint_t foo = (wchar_t)'\0';], , 24 | gt_cv_c_wint_t=yes, gt_cv_c_wint_t=no)]) 25 | if test $gt_cv_c_wint_t = yes; then 26 | AC_DEFINE(HAVE_WINT_T, 1, [Define if you have the 'wint_t' type.]) 27 | fi 28 | ]) 29 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/xalloc.m4: -------------------------------------------------------------------------------- 1 | # xalloc.m4 serial 16 2 | dnl Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XALLOC], 8 | [ 9 | AC_LIBOBJ([xmalloc]) 10 | 11 | gl_PREREQ_XALLOC 12 | gl_PREREQ_XMALLOC 13 | ]) 14 | 15 | # Prerequisites of lib/xalloc.h. 16 | AC_DEFUN([gl_PREREQ_XALLOC], [ 17 | AC_REQUIRE([gl_INLINE]) 18 | : 19 | ]) 20 | 21 | # Prerequisites of lib/xmalloc.c. 22 | AC_DEFUN([gl_PREREQ_XMALLOC], [ 23 | : 24 | ]) 25 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/m4/xstrndup.m4: -------------------------------------------------------------------------------- 1 | # xstrndup.m4 serial 2 2 | dnl Copyright (C) 2003 Free Software Foundation, Inc. 3 | dnl This file is free software; the Free Software Foundation 4 | dnl gives unlimited permission to copy and/or distribute it, 5 | dnl with or without modifications, as long as this notice is preserved. 6 | 7 | AC_DEFUN([gl_XSTRNDUP], 8 | [ 9 | gl_PREREQ_XSTRNDUP 10 | ]) 11 | 12 | # Prerequisites of lib/xstrndup.c. 13 | AC_DEFUN([gl_PREREQ_XSTRNDUP], [ 14 | : 15 | ]) 16 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/LINGUAS: -------------------------------------------------------------------------------- 1 | da 2 | de 3 | el 4 | es 5 | et 6 | fr 7 | ga 8 | hr 9 | id 10 | it 11 | ja 12 | ms 13 | nb 14 | nl 15 | pl 16 | pt_BR 17 | ro 18 | ru 19 | sv 20 | tr 21 | uk 22 | vi 23 | zh_TW 24 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/POTFILES.in: -------------------------------------------------------------------------------- 1 | src/complain.c 2 | src/conflicts.c 3 | src/files.c 4 | src/getargs.c 5 | src/gram.c 6 | src/location.c 7 | src/main.c 8 | src/parse-gram.y 9 | src/print.c 10 | src/reader.c 11 | src/reduce.c 12 | src/scan-code.l 13 | src/scan-gram.l 14 | src/symlist.c 15 | src/symtab.c 16 | 17 | lib/argmatch.c 18 | lib/bitset_stats.c 19 | lib/error.c 20 | lib/getopt.c 21 | lib/obstack.c 22 | lib/quotearg.c 23 | lib/subpipe.c 24 | lib/timevar.c 25 | lib/xalloc-die.c 26 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/boldquot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | s/“/“/g 8 | s/”/”/g 9 | s/‘/‘/g 10 | s/’/’/g 11 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/da.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/da.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/da.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/da.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/de.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/de.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/el.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/el.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/en@quot.header: -------------------------------------------------------------------------------- 1 | # All this catalog "translates" are quotation characters. 2 | # The msgids must be ASCII and therefore cannot contain real quotation 3 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27) 4 | # and double quote (0x22). These substitutes look strange; see 5 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html 6 | # 7 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to 8 | # left single quotation mark (U+2018) and right single quotation mark (U+2019). 9 | # It also translates pairs of apostrophe (0x27) to 10 | # left single quotation mark (U+2018) and right single quotation mark (U+2019) 11 | # and pairs of quotation mark (0x22) to 12 | # left double quotation mark (U+201C) and right double quotation mark (U+201D). 13 | # 14 | # When output to an UTF-8 terminal, the quotation characters appear perfectly. 15 | # When output to an ISO-8859-1 terminal, the single quotation marks are 16 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to 17 | # grave/acute accent (by libiconv), and the double quotation marks are 18 | # transliterated to 0x22. 19 | # When output to an ASCII terminal, the single quotation marks are 20 | # transliterated to apostrophes, and the double quotation marks are 21 | # transliterated to 0x22. 22 | # 23 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/es.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/es.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/es.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/es.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/et.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/et.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/et.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/et.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/fr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/fr.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/fr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/fr.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ga.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ga.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ga.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ga.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/hr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/hr.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/hr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/hr.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/id.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/id.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/insert-header.sin: -------------------------------------------------------------------------------- 1 | # Sed script that inserts the file called HEADER before the header entry. 2 | # 3 | # At each occurrence of a line starting with "msgid ", we execute the following 4 | # commands. At the first occurrence, insert the file. At the following 5 | # occurrences, do nothing. The distinction between the first and the following 6 | # occurrences is achieved by looking at the hold space. 7 | /^msgid /{ 8 | x 9 | # Test if the hold space is empty. 10 | s/m/m/ 11 | ta 12 | # Yes it was empty. First occurrence. Read the file. 13 | r HEADER 14 | # Output the file's contents by reading the next line. But don't lose the 15 | # current line while doing this. 16 | g 17 | N 18 | bb 19 | :a 20 | # The hold space was nonempty. Following occurrences. Do nothing. 21 | x 22 | :b 23 | } 24 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/it.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/it.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/it.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/it.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ja.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ja.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ja.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ja.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ms.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ms.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/nb.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/nb.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/nb.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/nb.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/nl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/nl.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/pl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/pl.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/pl.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/pl.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/pt_BR.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/pt_BR.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/pt_BR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/pt_BR.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/quot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ro.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ro.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ro.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ro.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ru.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ru.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ru.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/ru.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/stamp-po: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/sv.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/sv.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/sv.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/sv.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/tr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/tr.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/tr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/tr.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/uk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/uk.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/vi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/vi.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/zh_TW.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/po/zh_TW.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/LINGUAS: -------------------------------------------------------------------------------- 1 | da 2 | de 3 | el 4 | es 5 | et 6 | fi 7 | fr 8 | ga 9 | hr 10 | id 11 | it 12 | ja 13 | ky 14 | lt 15 | ms 16 | nb 17 | nl 18 | pl 19 | pt_BR 20 | ro 21 | ru 22 | sl 23 | sv 24 | th 25 | tr 26 | uk 27 | vi 28 | zh_CN 29 | zh_TW 30 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/POTFILES.in: -------------------------------------------------------------------------------- 1 | data/glr.c 2 | data/lalr1.cc 3 | data/yacc.c 4 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/boldquot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | s/“/“/g 8 | s/”/”/g 9 | s/‘/‘/g 10 | s/’/’/g 11 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/da.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/da.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/de.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/de.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/el.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/el.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/en@quot.header: -------------------------------------------------------------------------------- 1 | # All this catalog "translates" are quotation characters. 2 | # The msgids must be ASCII and therefore cannot contain real quotation 3 | # characters, only substitutes like grave accent (0x60), apostrophe (0x27) 4 | # and double quote (0x22). These substitutes look strange; see 5 | # http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html 6 | # 7 | # This catalog translates grave accent (0x60) and apostrophe (0x27) to 8 | # left single quotation mark (U+2018) and right single quotation mark (U+2019). 9 | # It also translates pairs of apostrophe (0x27) to 10 | # left single quotation mark (U+2018) and right single quotation mark (U+2019) 11 | # and pairs of quotation mark (0x22) to 12 | # left double quotation mark (U+201C) and right double quotation mark (U+201D). 13 | # 14 | # When output to an UTF-8 terminal, the quotation characters appear perfectly. 15 | # When output to an ISO-8859-1 terminal, the single quotation marks are 16 | # transliterated to apostrophes (by iconv in glibc 2.2 or newer) or to 17 | # grave/acute accent (by libiconv), and the double quotation marks are 18 | # transliterated to 0x22. 19 | # When output to an ASCII terminal, the single quotation marks are 20 | # transliterated to apostrophes, and the double quotation marks are 21 | # transliterated to 0x22. 22 | # 23 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/es.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/es.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/es.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/es.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/et.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/et.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/et.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/et.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/fi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/fi.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/fr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/fr.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/fr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/fr.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ga.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ga.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ga.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ga.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/hr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/hr.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/id.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/id.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/insert-header.sin: -------------------------------------------------------------------------------- 1 | # Sed script that inserts the file called HEADER before the header entry. 2 | # 3 | # At each occurrence of a line starting with "msgid ", we execute the following 4 | # commands. At the first occurrence, insert the file. At the following 5 | # occurrences, do nothing. The distinction between the first and the following 6 | # occurrences is achieved by looking at the hold space. 7 | /^msgid /{ 8 | x 9 | # Test if the hold space is empty. 10 | s/m/m/ 11 | ta 12 | # Yes it was empty. First occurrence. Read the file. 13 | r HEADER 14 | # Output the file's contents by reading the next line. But don't lose the 15 | # current line while doing this. 16 | g 17 | N 18 | bb 19 | :a 20 | # The hold space was nonempty. Following occurrences. Do nothing. 21 | x 22 | :b 23 | } 24 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/it.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/it.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ja.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ja.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ja.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ja.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ky.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ky.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/lt.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/lt.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ms.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ms.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/nb.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/nb.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/nb.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/nb.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/nl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/nl.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/pl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/pl.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/pl.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/pl.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/pt_BR.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/pt_BR.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/pt_BR.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/pt_BR.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/quot.sed: -------------------------------------------------------------------------------- 1 | s/"\([^"]*\)"/“\1”/g 2 | s/`\([^`']*\)'/‘\1’/g 3 | s/ '\([^`']*\)' / ‘\1’ /g 4 | s/ '\([^`']*\)'$/ ‘\1’/g 5 | s/^'\([^`']*\)' /‘\1’ /g 6 | s/“”/""/g 7 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/remove-potcdate.sin: -------------------------------------------------------------------------------- 1 | # Sed script that remove the POT-Creation-Date line in the header entry 2 | # from a POT file. 3 | # 4 | # The distinction between the first and the following occurrences of the 5 | # pattern is achieved by looking at the hold space. 6 | /^"POT-Creation-Date: .*"$/{ 7 | x 8 | # Test if the hold space is empty. 9 | s/P/P/ 10 | ta 11 | # Yes it was empty. First occurrence. Remove the line. 12 | g 13 | d 14 | bb 15 | :a 16 | # The hold space was nonempty. Following occurrences. Do nothing. 17 | x 18 | :b 19 | } 20 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ro.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ro.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ro.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ro.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ru.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ru.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ru.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/ru.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/sl.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/sl.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/stamp-po: -------------------------------------------------------------------------------- 1 | timestamp 2 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/sv.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/sv.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/sv.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/sv.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/th.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/th.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/tr.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/tr.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/tr.po: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/tr.po -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/uk.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/uk.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/vi.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/vi.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/zh_CN.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/zh_CN.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/zh_TW.gmo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1-src/runtime-po/zh_TW.gmo -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/LR0.h: -------------------------------------------------------------------------------- 1 | /* Generate the nondeterministic finite state machine for bison, 2 | Copyright 1984, 1986, 1989, 2000, 2001, 2002 Free Software Foundation, Inc. 3 | 4 | This file is part of Bison, the GNU Compiler Compiler. 5 | 6 | This program is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . */ 18 | 19 | #ifndef LR0_H_ 20 | # define LR0_H_ 21 | 22 | # include "state.h" 23 | 24 | void generate_states (void); 25 | 26 | #endif /* !LR0_H_ */ 27 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/assoc.h: -------------------------------------------------------------------------------- 1 | /* Associativity information. 2 | Copyright (C) 2002, 2006 Free Software Foundation, Inc. 3 | 4 | This file is part of Bison, the GNU Compiler Compiler. 5 | 6 | This program is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . */ 18 | 19 | #ifndef ASSOC_H_ 20 | # define ASSOC_H_ 21 | 22 | /* Associativity values for tokens and rules. */ 23 | typedef enum 24 | { 25 | undef_assoc, 26 | right_assoc, 27 | left_assoc, 28 | non_assoc 29 | } assoc; 30 | 31 | char const *assoc_to_string (assoc a); 32 | 33 | #endif /* !ASSOC_H_ */ 34 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/derives.h: -------------------------------------------------------------------------------- 1 | /* Match rules with nonterminals for bison, 2 | 3 | Copyright (C) 1984, 1989, 2000, 2001, 2002 Free Software 4 | Foundation, Inc. 5 | 6 | This file is part of Bison, the GNU Compiler Compiler. 7 | 8 | This program is free software: you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation, either version 3 of the License, or 11 | (at your option) any later version. 12 | 13 | This program is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with this program. If not, see . */ 20 | 21 | #ifndef DERIVES_H_ 22 | # define DERIVES_H_ 23 | 24 | # include "gram.h" 25 | 26 | /* DERIVES[SYMBOL - NTOKENS] points to a vector of the rules that 27 | SYMBOL derives, terminated with NULL. */ 28 | extern rule ***derives; 29 | 30 | /* Compute DERIVES. */ 31 | 32 | void derives_compute (void); 33 | void derives_free (void); 34 | 35 | #endif /* !DERIVES_H_ */ 36 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/graphviz.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void start_graph (FILE *fout); 4 | void output_node (int id, char const *label, FILE *fout); 5 | void output_edge (int source, int destination, char const *label, 6 | char const *style, FILE *fout); 7 | void finish_graph (FILE *fout); 8 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/nullable.h: -------------------------------------------------------------------------------- 1 | /* Part of the bison parser generator, 2 | Copyright (C) 2000, 2002 Free Software Foundation, Inc. 3 | 4 | This file is part of Bison, the GNU Compiler Compiler. 5 | 6 | This program is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . */ 18 | 19 | #ifndef NULLABLE_H_ 20 | # define NULLABLE_H_ 21 | 22 | /* A vector saying which nonterminals can expand into the null string. 23 | NULLABLE[I - NTOKENS] is nonzero if symbol I can do so. */ 24 | extern bool *nullable; 25 | 26 | /* Set up NULLABLE. */ 27 | extern void nullable_compute (void); 28 | 29 | /* Free NULLABLE. */ 30 | extern void nullable_free (void); 31 | #endif /* !NULLABLE_H_ */ 32 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/output.h: -------------------------------------------------------------------------------- 1 | /* Output the generated parsing program for bison, 2 | Copyright (C) 2000, 2001, 2002, 2003, 2006, 2007 Free Software Foundation, 3 | Inc. 4 | 5 | This file is part of Bison, the GNU Compiler Compiler. 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . */ 19 | 20 | #ifndef OUTPUT_H_ 21 | # define OUTPUT_H_ 22 | 23 | /* Output the parsing tables and the parser code to FTABLE. */ 24 | void output (void); 25 | char const *compute_pkgdatadir (void); 26 | 27 | #endif /* !OUTPUT_H_ */ 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/print.h: -------------------------------------------------------------------------------- 1 | /* Print information on generated parser, for bison, 2 | Copyright 2000 Free Software Foundation, Inc. 3 | 4 | This file is part of Bison, the GNU Compiler Compiler. 5 | 6 | This program is free software: you can redistribute it and/or modify 7 | it under the terms of the GNU General Public License as published by 8 | the Free Software Foundation, either version 3 of the License, or 9 | (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program. If not, see . */ 18 | 19 | #ifndef PRINT_H_ 20 | # define PRINT_H_ 21 | 22 | void print_results (void); 23 | 24 | #endif /* !PRINT_H_ */ 25 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/print_graph.h: -------------------------------------------------------------------------------- 1 | /* Output a graph of the generated parser, for Bison. 2 | 3 | Copyright 2000, 2006 Free Software Foundation, Inc. 4 | 5 | This file is part of Bison, the GNU Compiler Compiler. 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . */ 19 | 20 | #ifndef PRINT_GRAPH_H_ 21 | # define PRINT_GRAPH_H_ 22 | 23 | void print_graph (void); 24 | 25 | #endif /* !PRINT_GRAPH_H_ */ 26 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/reduce.h: -------------------------------------------------------------------------------- 1 | /* Grammar reduction for Bison. 2 | 3 | Copyright (C) 2000, 2001, 2002, 2007 Free Software Foundation, Inc. 4 | 5 | This file is part of Bison, the GNU Compiler Compiler. 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . */ 19 | 20 | #ifndef REDUCE_H_ 21 | # define REDUCE_H_ 22 | 23 | void reduce_grammar (void); 24 | void reduce_output (FILE *out); 25 | bool reduce_token_unused_in_grammar (symbol_number i); 26 | bool reduce_nonterminal_useless_in_grammar (symbol_number i); 27 | void reduce_free (void); 28 | 29 | extern symbol_number nuseless_nonterminals; 30 | extern rule_number nuseless_productions; 31 | #endif /* !REDUCE_H_ */ 32 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/scan-code-c.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "system.h" 3 | #include "scan-code.c" 4 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/scan-gram-c.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "system.h" 3 | #include "scan-gram.c" 4 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/scan-skel-c.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "system.h" 3 | #include "scan-skel.c" 4 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/src/scan-skel.h: -------------------------------------------------------------------------------- 1 | /* Scan Bison Skeletons. 2 | 3 | Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc. 4 | 5 | This file is part of Bison, the GNU Compiler Compiler. 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . */ 19 | 20 | void scan_skel (FILE *); 21 | 22 | /* Pacify "make syntax-check". */ 23 | extern FILE *skel_in; 24 | extern FILE *skel_out; 25 | extern int skel__flex_debug; 26 | extern int skel_lineno; 27 | void skel_scanner_free (void); 28 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/tests/bison.in: -------------------------------------------------------------------------------- 1 | #! @SHELL@ 2 | # @configure_input@ 3 | # Wrapper around a non installed bison to make it work as an installed one. 4 | 5 | # Use the shipped files, not those installed. 6 | BISON_PKGDATADIR=$(cygpath -m '@abs_top_srcdir@/data') 7 | export BISON_PKGDATADIR 8 | exec $PREBISON $(cygpath -m '@abs_top_builddir@/src/bison') ${1+"$@"} 9 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1-src/tests/package.m4: -------------------------------------------------------------------------------- 1 | # Signature of the current package. 2 | m4_define([AT_PACKAGE_NAME], [GNU Bison]) 3 | m4_define([AT_PACKAGE_TARNAME], [bison]) 4 | m4_define([AT_PACKAGE_VERSION], [2.4.1]) 5 | m4_define([AT_PACKAGE_STRING], [GNU Bison 2.4.1]) 6 | m4_define([AT_PACKAGE_BUGREPORT], [bug-bison@gnu.org]) 7 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/GNUmakefile.lnk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1/GNUmakefile.lnk -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/Makefile.mingw: -------------------------------------------------------------------------------- 1 | export DEFSPLUS= -DPDC_DLL_BUILD 2 | export INCLUDESPLUS= 3 | export CFLAGSPLUS= 4 | export LDFLAGSPLUS= 5 | export LIBSPLUS= 6 | export DLLFLAG= 7 | sedfiles=Makefile libtool config.h 8 | BUILDDIR=$(shell cygpath -m `pwd`) 9 | BUILD0DIR=$(shell basename $(BUILDDIR)) 10 | SRCDIR=../$(BUILD0DIR)-src 11 | INSTALLDIR=$(BUILD0DIR) 12 | INSTALLDIR=$(shell echo $(BUILD0DIR) | sed -e "s/-[^-]*$$//") 13 | PREFIX=c:/progra~1/$(INSTALLDIR) 14 | 15 | export ac_cv_path_M4=m4 16 | 17 | .PHONY: all 18 | all: CONF MFSED 19 | CONF: 20 | # if [ ! -e Makefile.in.sed ]; then \ 21 | # cp -fp k:/Makefile.in.sed .; \ 22 | # fi 23 | # find.exe $(SRCDIR) -iname Makefile.in -exec sed -i -f Makefile.in.sed '{}' ';' 24 | $(SRCDIR)/configure --prefix="$(PREFIX)" --srcdir="$(SRCDIR)" 25 | 26 | # --infodir="$(PREFIX)/info" --mandir="$(PREFIX)/man" --docdir="$(PREFIX)/doc" 27 | 28 | -include $(DVLDIR)/makefile.chg 29 | 30 | # make all 31 | # make check 32 | # make install prefix=c:/temp/$(INSTALLDIR) 33 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/doc/yacc.1: -------------------------------------------------------------------------------- 1 | .TH YACC "1" "November 2007" "GNU Bison 2.4.1" "User Commands" 2 | .SH NAME 3 | yacc \- GNU Project parser generator 4 | .SH SYNOPSIS 5 | .B yacc 6 | [\fIOPTION\fR]... \fIFILE\fR 7 | .SH DESCRIPTION 8 | .I Yacc 9 | (Yet Another Compiler Compiler) is a parser generator. This 10 | version is a simple wrapper around 11 | .IR bison (1). 12 | It passes option 13 | \fB\-y\fR, \fB\-\-yacc\fR 14 | to activate the upward compatibility mode. See 15 | .IR bison (1) 16 | for more information. 17 | .SH AUTHOR 18 | Written by Paul Eggert. 19 | .SH "REPORTING BUGS" 20 | Report bugs to . 21 | .SH COPYRIGHT 22 | Copyright \(co 2008 Free Software Foundation, Inc. 23 | .br 24 | This is free software; see the source for copying conditions. There is NO 25 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 26 | .SH "SEE ALSO" 27 | .BR lex (1), 28 | .BR flex (1), 29 | .BR bison (1). 30 | .PP 31 | The full documentation for 32 | .B bison 33 | is maintained as a Texinfo manual. If the 34 | .B info 35 | and 36 | .B bison 37 | programs are properly installed at your site, the command 38 | .IP 39 | .B info bison 40 | .PP 41 | should give you access to the complete manual. 42 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/lib/stamp-h1: -------------------------------------------------------------------------------- 1 | timestamp for lib/config.h 2 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/lib/uniwidth/.deps/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1/lib/uniwidth/.deps/.dirstamp -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/lib/uniwidth/.dirstamp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1/lib/uniwidth/.dirstamp -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/libtool00.sed: -------------------------------------------------------------------------------- 1 | s/~/!/g 2 | s/ln -s/cp -fp/g 3 | /^build_libtool_need_lc/s/=yes/=no/ 4 | s/^.*X-lc.*continue.*$$/\#&/ 5 | s/^.*X-lm.*continue.*$$/\#&/ 6 | #s/pic_flag="/& -D_DLL -D_BUILD_DLL/ 7 | #s/export_dynamic_flag_spec="/&\${wl}--export-all-symbols / 8 | #s/export_dynamic=no/export_dynamic=yes/g 9 | s/versuffix="-$major"/versuffix="$major"/ 10 | s/--no-undefined/--allow-shlib-undefined/ 11 | /^allow_undefined_flag/s/unsupported/--allow-shlib-undefined/ 12 | /^deplibs_check_method/s/".*"/"pass_all"/ 13 | /^soname_spec/s|/-/|//|g 14 | /^soname_spec=/s/libname/dllname/ 15 | /^\trelease)/i\ 16 | dllname)\ 17 | dllname="$arg"\ 18 | prev=\ 19 | continue\ 20 | ;; 21 | /^[ ]*-release)/i\ 22 | -dllname)\ 23 | prev=dllname\ 24 | continue\ 25 | ;;\ 26 | 27 | s/-pc-cygwin/-pc-mingw32/g 28 | s/pwd/pwd.sh/g 29 | s/-Wl,-e,_DllMain/-shared &/g 30 | /versuffix="$major"/a\ 31 | if test "$versuffix" = 0; then\ 32 | versuffix=\ 33 | fi 34 | s/-DDLL_EXPORT/& /g 35 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/patches/bison-2.4.1-src/bison.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1/patches/bison-2.4.1-src/bison.chm -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/patches/bison-2.4.1-src/confsys.h: -------------------------------------------------------------------------------- 1 | #ifndef _CONFSYS_H_ 2 | #define _CONFSYS_H_ 1 3 | 4 | #ifdef _WIN32 5 | # define close _close 6 | # define dup _dup 7 | # define dup2 _dup2 8 | # define fdopen _fdopen 9 | # define setmode _setmode 10 | # define spawnvp _spawnvp 11 | # define strdup _strdup 12 | #endif /* _WIN32 */ 13 | 14 | #endif /* _CONFSYS_H_ */ 15 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/patches/bison-2.4.1-src/lib/areadlink.h: -------------------------------------------------------------------------------- 1 | /* Read symbolic links without size limitation. 2 | 3 | Copyright (C) 2001, 2003, 2004, 2007 Free Software Foundation, Inc. 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation; either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . */ 17 | 18 | /* Written by Jim Meyering */ 19 | 20 | #include 21 | 22 | extern char *areadlink (char const *filename); 23 | extern char *areadlink_with_size (char const *filename, size_t size_hint); 24 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/patches/bison-2.4.1-src/lib/confsys.h: -------------------------------------------------------------------------------- 1 | #ifndef _CONFSYS_H_ 2 | #define _CONFSYS_H_ 1 3 | 4 | #ifdef _WIN32 5 | # define close _close 6 | # define dup _dup 7 | # define dup2 _dup2 8 | # define fdopen _fdopen 9 | # define setmode _setmode 10 | # define spawnvp _spawnvp 11 | # define strdup _strdup 12 | #endif /* _WIN32 */ 13 | 14 | #endif /* _CONFSYS_H_ */ 15 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/po/POTFILES: -------------------------------------------------------------------------------- 1 | ../../bison-2.4.1-src/src/complain.c \ 2 | ../../bison-2.4.1-src/src/conflicts.c \ 3 | ../../bison-2.4.1-src/src/files.c \ 4 | ../../bison-2.4.1-src/src/getargs.c \ 5 | ../../bison-2.4.1-src/src/gram.c \ 6 | ../../bison-2.4.1-src/src/location.c \ 7 | ../../bison-2.4.1-src/src/main.c \ 8 | ../../bison-2.4.1-src/src/parse-gram.y \ 9 | ../../bison-2.4.1-src/src/print.c \ 10 | ../../bison-2.4.1-src/src/reader.c \ 11 | ../../bison-2.4.1-src/src/reduce.c \ 12 | ../../bison-2.4.1-src/src/scan-code.l \ 13 | ../../bison-2.4.1-src/src/scan-gram.l \ 14 | ../../bison-2.4.1-src/src/symlist.c \ 15 | ../../bison-2.4.1-src/src/symtab.c \ 16 | ../../bison-2.4.1-src/lib/argmatch.c \ 17 | ../../bison-2.4.1-src/lib/bitset_stats.c \ 18 | ../../bison-2.4.1-src/lib/error.c \ 19 | ../../bison-2.4.1-src/lib/getopt.c \ 20 | ../../bison-2.4.1-src/lib/obstack.c \ 21 | ../../bison-2.4.1-src/lib/quotearg.c \ 22 | ../../bison-2.4.1-src/lib/subpipe.c \ 23 | ../../bison-2.4.1-src/lib/timevar.c \ 24 | ../../bison-2.4.1-src/lib/xalloc-die.c 25 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/resource/bison-res.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1/resource/bison-res.rc -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/resource/gnu.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/bison/src/bison/2.4.1/bison-2.4.1/resource/gnu.ico -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/runtime-po/POTFILES: -------------------------------------------------------------------------------- 1 | ../../bison-2.4.1-src/data/glr.c \ 2 | ../../bison-2.4.1-src/data/lalr1.cc \ 3 | ../../bison-2.4.1-src/data/yacc.c 4 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/tests/al: -------------------------------------------------------------------------------- 1 | CPPFLAGS="-I$abs_top_builddir/lib -D__USE_MINGW_ACCESS -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DENABLE_RELOCATABLE -DINSTALLPREFIX=\"$(prefix)\" -DINSTALLDIR=\"$(bindir)\" -DEXEEXT=\"$(EXEEXT)\" -DNO_XMALLOC -ID:/Progra~1/GnuWin32/include " 2 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/tests/atconfig: -------------------------------------------------------------------------------- 1 | # Configurable variable values for building test suites. 2 | # Generated by ./config.status. 3 | # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc. 4 | 5 | # The test suite will define top_srcdir=/../.. etc. 6 | at_testdir='tests' 7 | abs_builddir='/cygdrive/j/Devel/bison/2.4.1/bison-2.4.1/tests' 8 | at_srcdir='../../bison-2.4.1-src/tests' 9 | abs_srcdir='/cygdrive/j/Devel/bison/2.4.1/bison-2.4.1/../bison-2.4.1-src/tests' 10 | at_top_srcdir='../../bison-2.4.1-src' 11 | abs_top_srcdir='/cygdrive/j/Devel/bison/2.4.1/bison-2.4.1/../bison-2.4.1-src' 12 | at_top_build_prefix='../' 13 | abs_top_builddir='/cygdrive/j/Devel/bison/2.4.1/bison-2.4.1' 14 | 15 | # Backward compatibility with Autotest <= 2.59b: 16 | at_top_builddir=$at_top_build_prefix 17 | 18 | AUTOTEST_PATH='tests' 19 | 20 | SHELL=${CONFIG_SHELL-'/bin/sh'} 21 | -------------------------------------------------------------------------------- /vendor/bison/src/bison/2.4.1/bison-2.4.1/tests/bison: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | # tests/bison. Generated from bison.in by configure. 3 | # Wrapper around a non installed bison to make it work as an installed one. 4 | 5 | # Use the shipped files, not those installed. 6 | BISON_PKGDATADIR=$(cygpath -m '/cygdrive/j/Devel/bison/2.4.1/bison-2.4.1/../bison-2.4.1-src/data') 7 | export BISON_PKGDATADIR 8 | exec $PREBISON $(cygpath -m '/cygdrive/j/Devel/bison/2.4.1/bison-2.4.1/src/bison') ${1+"$@"} 9 | -------------------------------------------------------------------------------- /vendor/flex/bin/flex++.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/flex/bin/flex++.exe -------------------------------------------------------------------------------- /vendor/flex/bin/flex.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/flex/bin/flex.exe -------------------------------------------------------------------------------- /vendor/flex/contrib/flex/2.5.4a/flex-2.5.4a/depends-GnuWin32.lst: -------------------------------------------------------------------------------- 1 | kernel32.dll 2 | msvcrt.dll 3 | ntdll.dll 4 | -------------------------------------------------------------------------------- /vendor/flex/manifest/flex-2.5.4a-1-bin.mft: -------------------------------------------------------------------------------- 1 | bin/flex.exe 2 | bin/flex++.exe 3 | contrib/flex/2.5.4a/flex-2.5.4a/COPYING 4 | contrib/flex/2.5.4a/flex-2.5.4a/depends-GnuWin32.lst 5 | contrib/flex/2.5.4a/flex-2.5.4a/flex-2.5.4a-1-GnuWin32.README 6 | contrib/flex/2.5.4a/flex-2.5.4a/INSTALL 7 | contrib/flex/2.5.4a/flex-2.5.4a/MISC/Borland/NOTES 8 | contrib/flex/2.5.4a/flex-2.5.4a/MISC/fastwc/README 9 | contrib/flex/2.5.4a/flex-2.5.4a/MISC/MVS/README 10 | contrib/flex/2.5.4a/flex-2.5.4a/MISC/README 11 | contrib/flex/2.5.4a/flex-2.5.4a/NEWS 12 | contrib/flex/2.5.4a/flex-2.5.4a/README 13 | man/cat1/flex.1.txt 14 | manifest/flex-2.5.4a-1-bin.mft 15 | manifest/flex-2.5.4a-1-bin.ver 16 | -------------------------------------------------------------------------------- /vendor/flex/manifest/flex-2.5.4a-1-bin.ver: -------------------------------------------------------------------------------- 1 | Flex 2.5.4a: Binaries 2 | Flex: fast lexical analyzer generator -------------------------------------------------------------------------------- /vendor/premake/premake5.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/premake/premake5.exe -------------------------------------------------------------------------------- /vendor/tiger/chap1/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/travmygit/TigerCompiler/b73a8b54c2af4af956a076103c2a66ba535489a0/vendor/tiger/chap1/main.c -------------------------------------------------------------------------------- /vendor/tiger/chap1/makefile: -------------------------------------------------------------------------------- 1 | a.out: main.o prog1.o slp.o util.o 2 | cc -g main.o prog1.o slp.o util.o 3 | 4 | main.o: main.c slp.h util.h 5 | cc -g -c main.c 6 | 7 | prog1.o: prog1.c slp.h util.h 8 | cc -g -c prog1.c 9 | 10 | slp.o: slp.c slp.h util.h 11 | cc -g -c slp.c 12 | 13 | util.o: util.c util.h 14 | cc -g -c util.c 15 | 16 | clean: 17 | rm -f a.out util.o prog1.o slp.o main.o 18 | -------------------------------------------------------------------------------- /vendor/tiger/chap1/prog1.c: -------------------------------------------------------------------------------- 1 | #include "util.h" 2 | #include "slp.h" 3 | 4 | A_stm prog(void) { 5 | 6 | return 7 | A_CompoundStm(A_AssignStm("a", 8 | A_OpExp(A_NumExp(5), A_plus, A_NumExp(3))), 9 | A_CompoundStm(A_AssignStm("b", 10 | A_EseqExp(A_PrintStm(A_PairExpList(A_IdExp("a"), 11 | A_LastExpList(A_OpExp(A_IdExp("a"), A_minus, 12 | A_NumExp(1))))), 13 | A_OpExp(A_NumExp(10), A_times, A_IdExp("a")))), 14 | A_PrintStm(A_LastExpList(A_IdExp("b"))))); 15 | } 16 | -------------------------------------------------------------------------------- /vendor/tiger/chap1/prog1.h: -------------------------------------------------------------------------------- 1 | A_stm prog(void); 2 | -------------------------------------------------------------------------------- /vendor/tiger/chap1/util.c: -------------------------------------------------------------------------------- 1 | /* 2 | * util.c - commonly used utility functions. 3 | */ 4 | 5 | #include 6 | #include 7 | #include 8 | #include "util.h" 9 | void *checked_malloc(int len) 10 | {void *p = malloc(len); 11 | if (!p) { 12 | fprintf(stderr,"\nRan out of memory!\n"); 13 | exit(1); 14 | } 15 | return p; 16 | } 17 | 18 | string String(char *s) 19 | {string p = checked_malloc(strlen(s)+1); 20 | strcpy(p,s); 21 | return p; 22 | } 23 | 24 | U_boolList U_BoolList(bool head, U_boolList tail) 25 | { U_boolList list = checked_malloc(sizeof(*list)); 26 | list->head = head; 27 | list->tail = tail; 28 | return list; 29 | } 30 | -------------------------------------------------------------------------------- /vendor/tiger/chap1/util.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | typedef char *string; 4 | typedef char bool; 5 | 6 | #define TRUE 1 7 | #define FALSE 0 8 | 9 | void *checked_malloc(int); 10 | string String(char *); 11 | 12 | typedef struct U_boolList_ *U_boolList; 13 | struct U_boolList_ {bool head; U_boolList tail;}; 14 | U_boolList U_BoolList(bool head, U_boolList tail); 15 | 16 | -------------------------------------------------------------------------------- /vendor/tiger/chap10/flowgraph.h: -------------------------------------------------------------------------------- 1 | /* 2 | * flowgraph.h - Function prototypes to represent control flow graphs. 3 | */ 4 | 5 | Temp_tempList FG_def(G_node n); 6 | Temp_tempList FG_use(G_node n); 7 | bool FG_isMove(G_node n); 8 | G_graph FG_AssemFlowGraph(AS_instrList il); 9 | -------------------------------------------------------------------------------- /vendor/tiger/chap11/color.h: -------------------------------------------------------------------------------- 1 | /* 2 | * color.h - Data structures and function prototypes for coloring algorithm 3 | * to determine register allocation. 4 | */ 5 | 6 | struct COL_result {Temp_map coloring; Temp_tempList spills;}; 7 | struct COL_result COL_color(G_graph ig, Temp_map initial, Temp_tempList regs); 8 | 9 | 10 | -------------------------------------------------------------------------------- /vendor/tiger/chap11/regalloc.h: -------------------------------------------------------------------------------- 1 | /* function prototype from regalloc.c */ 2 | struct RA_result {Temp_map coloring; AS_instrList il;}; 3 | struct RA_result RA_regAlloc(F_frame f, AS_instrList il); 4 | -------------------------------------------------------------------------------- /vendor/tiger/chap2/driver.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "util.h" 3 | #include "errormsg.h" 4 | #include "tokens.h" 5 | 6 | YYSTYPE yylval; 7 | 8 | int yylex(void); /* prototype for the lexing function */ 9 | 10 | 11 | 12 | string toknames[] = { 13 | "ID", "STRING", "INT", "COMMA", "COLON", "SEMICOLON", "LPAREN", 14 | "RPAREN", "LBRACK", "RBRACK", "LBRACE", "RBRACE", "DOT", "PLUS", 15 | "MINUS", "TIMES", "DIVIDE", "EQ", "NEQ", "LT", "LE", "GT", "GE", 16 | "AND", "OR", "ASSIGN", "ARRAY", "IF", "THEN", "ELSE", "WHILE", "FOR", 17 | "TO", "DO", "LET", "IN", "END", "OF", "BREAK", "NIL", "FUNCTION", 18 | "VAR", "TYPE" 19 | }; 20 | 21 | 22 | string tokname(tok) { 23 | return tok<257 || tok>299 ? "BAD_TOKEN" : toknames[tok-257]; 24 | } 25 | 26 | int main(int argc, char **argv) { 27 | string fname; int tok; 28 | if (argc!=2) {fprintf(stderr,"usage: a.out filename\n"); exit(1);} 29 | fname=argv[1]; 30 | EM_reset(fname); 31 | for(;;) { 32 | tok=yylex(); 33 | if (tok==0) break; 34 | switch(tok) { 35 | case ID: case STRING: 36 | printf("%10s %4d %s\n",tokname(tok),EM_tokPos,yylval.sval); 37 | break; 38 | case INT: 39 | printf("%10s %4d %d\n",tokname(tok),EM_tokPos,yylval.ival); 40 | break; 41 | default: 42 | printf("%10s %4d\n",tokname(tok),EM_tokPos); 43 | } 44 | } 45 | return 0; 46 | } 47 | 48 | 49 | -------------------------------------------------------------------------------- /vendor/tiger/chap2/errormsg.h: -------------------------------------------------------------------------------- 1 | extern bool EM_anyErrors; 2 | 3 | void EM_newline(void); 4 | 5 | extern int EM_tokPos; 6 | 7 | void EM_error(int, string,...); 8 | void EM_impossible(string,...); 9 | void EM_reset(string filename); 10 | -------------------------------------------------------------------------------- /vendor/tiger/chap2/makefile: -------------------------------------------------------------------------------- 1 | lextest: driver.o lex.yy.o errormsg.o util.o 2 | cc -g -o lextest driver.o lex.yy.o errormsg.o util.o 3 | 4 | driver.o: driver.c tokens.h errormsg.h util.h 5 | cc -g -c driver.c 6 | 7 | errormsg.o: errormsg.c errormsg.h util.h 8 | cc -g -c errormsg.c 9 | 10 | lex.yy.o: lex.yy.c tokens.h errormsg.h util.h 11 | cc -g -c lex.yy.c 12 | 13 | lex.yy.c: tiger.lex 14 | lex tiger.lex 15 | 16 | util.o: util.c util.h 17 | cc -g -c util.c 18 | 19 | clean: 20 | rm -f a.out util.o driver.o lex.yy.o lex.yy.c errormsg.o 21 | -------------------------------------------------------------------------------- /vendor/tiger/chap2/tiger.lex: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | #include "util.h" 4 | #include "tokens.h" 5 | #include "errormsg.h" 6 | 7 | int charPos=1; 8 | 9 | int yywrap(void) 10 | { 11 | charPos=1; 12 | return 1; 13 | } 14 | 15 | 16 | void adjust(void) 17 | { 18 | EM_tokPos=charPos; 19 | charPos+=yyleng; 20 | } 21 | 22 | %} 23 | 24 | %% 25 | " " {adjust(); continue;} 26 | \n {adjust(); EM_newline(); continue;} 27 | "," {adjust(); return COMMA;} 28 | for {adjust(); return FOR;} 29 | [0-9]+ {adjust(); yylval.ival=atoi(yytext); return INT;} 30 | . {adjust(); EM_error(EM_tokPos,"illegal token");} 31 | 32 | 33 | -------------------------------------------------------------------------------- /vendor/tiger/chap2/tokens.h: -------------------------------------------------------------------------------- 1 | typedef union { 2 | int pos; 3 | int ival; 4 | string sval; 5 | } YYSTYPE; 6 | extern YYSTYPE yylval; 7 | 8 | # define ID 257 9 | # define STRING 258 10 | # define INT 259 11 | # define COMMA 260 12 | # define COLON 261 13 | # define SEMICOLON 262 14 | # define LPAREN 263 15 | # define RPAREN 264 16 | # define LBRACK 265 17 | # define RBRACK 266 18 | # define LBRACE 267 19 | # define RBRACE 268 20 | # define DOT 269 21 | # define PLUS 270 22 | # define MINUS 271 23 | # define TIMES 272 24 | # define DIVIDE 273 25 | # define EQ 274 26 | # define NEQ 275 27 | # define LT 276 28 | # define LE 277 29 | # define GT 278 30 | # define GE 279 31 | # define AND 280 32 | # define OR 281 33 | # define ASSIGN 282 34 | # define ARRAY 283 35 | # define IF 284 36 | # define THEN 285 37 | # define ELSE 286 38 | # define WHILE 287 39 | # define FOR 288 40 | # define TO 289 41 | # define DO 290 42 | # define LET 291 43 | # define IN 292 44 | # define END 293 45 | # define OF 294 46 | # define BREAK 295 47 | # define NIL 296 48 | # define FUNCTION 297 49 | # define VAR 298 50 | # define TYPE 299 51 | 52 | -------------------------------------------------------------------------------- /vendor/tiger/chap2/util.c: -------------------------------------------------------------------------------- 1 | /* 2 | * util.c - commonly used utility functions. 3 | */ 4 | 5 | #include 6 | #include 7 | #include 8 | #include "util.h" 9 | void *checked_malloc(int len) 10 | {void *p = malloc(len); 11 | if (!p) { 12 | fprintf(stderr,"\nRan out of memory!\n"); 13 | exit(1); 14 | } 15 | return p; 16 | } 17 | 18 | string String(char *s) 19 | {string p = checked_malloc(strlen(s)+1); 20 | strcpy(p,s); 21 | return p; 22 | } 23 | 24 | U_boolList U_BoolList(bool head, U_boolList tail) 25 | { U_boolList list = checked_malloc(sizeof(*list)); 26 | list->head = head; 27 | list->tail = tail; 28 | return list; 29 | } 30 | -------------------------------------------------------------------------------- /vendor/tiger/chap2/util.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | typedef char *string; 4 | typedef char bool; 5 | 6 | #define TRUE 1 7 | #define FALSE 0 8 | 9 | void *checked_malloc(int); 10 | string String(char *); 11 | 12 | typedef struct U_boolList_ *U_boolList; 13 | struct U_boolList_ {bool head; U_boolList tail;}; 14 | U_boolList U_BoolList(bool head, U_boolList tail); 15 | 16 | -------------------------------------------------------------------------------- /vendor/tiger/chap3/errormsg.h: -------------------------------------------------------------------------------- 1 | extern bool EM_anyErrors; 2 | 3 | void EM_newline(void); 4 | 5 | extern int EM_tokPos; 6 | 7 | void EM_error(int, string,...); 8 | void EM_impossible(string,...); 9 | void EM_reset(string filename); 10 | -------------------------------------------------------------------------------- /vendor/tiger/chap3/makefile: -------------------------------------------------------------------------------- 1 | a.out: parsetest.o y.tab.o lex.yy.o errormsg.o util.o 2 | cc -g parsetest.o y.tab.o lex.yy.o errormsg.o util.o 3 | 4 | parsetest.o: parsetest.c errormsg.h util.h 5 | cc -g -c parsetest.c 6 | 7 | y.tab.o: y.tab.c 8 | cc -g -c y.tab.c 9 | 10 | y.tab.c: tiger.grm 11 | yacc -dv tiger.grm 12 | 13 | y.tab.h: y.tab.c 14 | echo "y.tab.h was created at the same time as y.tab.c" 15 | 16 | errormsg.o: errormsg.c errormsg.h util.h 17 | cc -g -c errormsg.c 18 | 19 | lex.yy.o: lex.yy.c y.tab.h errormsg.h util.h 20 | cc -g -c lex.yy.c 21 | 22 | #lex.yy.c: tiger.lex 23 | # lex tiger.lex 24 | 25 | util.o: util.c util.h 26 | cc -g -c util.c 27 | 28 | clean: 29 | rm -f a.out util.o parsetest.o lex.yy.o errormsg.o y.tab.c y.tab.h y.tab.o 30 | -------------------------------------------------------------------------------- /vendor/tiger/chap3/parsetest.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include "util.h" 3 | #include "errormsg.h" 4 | 5 | extern int yyparse(void); 6 | 7 | void parse(string fname) 8 | {EM_reset(fname); 9 | if (yyparse() == 0) /* parsing worked */ 10 | fprintf(stderr,"Parsing successful!\n"); 11 | else fprintf(stderr,"Parsing failed\n"); 12 | } 13 | 14 | 15 | int main(int argc, char **argv) { 16 | if (argc!=2) {fprintf(stderr,"usage: a.out filename\n"); exit(1);} 17 | parse(argv[1]); 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /vendor/tiger/chap3/tiger.grm: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | #include "util.h" 4 | #include "errormsg.h" 5 | 6 | int yylex(void); /* function prototype */ 7 | 8 | void yyerror(char *s) 9 | { 10 | EM_error(EM_tokPos, "%s", s); 11 | } 12 | %} 13 | 14 | 15 | %union { 16 | int pos; 17 | int ival; 18 | string sval; 19 | } 20 | 21 | %token ID STRING 22 | %token INT 23 | 24 | %token 25 | COMMA COLON SEMICOLON LPAREN RPAREN LBRACK RBRACK 26 | LBRACE RBRACE DOT 27 | PLUS MINUS TIMES DIVIDE EQ NEQ LT LE GT GE 28 | AND OR ASSIGN 29 | ARRAY IF THEN ELSE WHILE FOR TO DO LET IN END OF 30 | BREAK NIL 31 | FUNCTION VAR TYPE 32 | 33 | %start program 34 | 35 | %% 36 | 37 | program: exp 38 | 39 | exp: ID 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /vendor/tiger/chap3/util.c: -------------------------------------------------------------------------------- 1 | /* 2 | * util.c - commonly used utility functions. 3 | */ 4 | 5 | #include 6 | #include 7 | #include 8 | #include "util.h" 9 | void *checked_malloc(int len) 10 | {void *p = malloc(len); 11 | if (!p) { 12 | fprintf(stderr,"\nRan out of memory!\n"); 13 | exit(1); 14 | } 15 | return p; 16 | } 17 | 18 | string String(char *s) 19 | {string p = checked_malloc(strlen(s)+1); 20 | strcpy(p,s); 21 | return p; 22 | } 23 | 24 | U_boolList U_BoolList(bool head, U_boolList tail) 25 | { U_boolList list = checked_malloc(sizeof(*list)); 26 | list->head = head; 27 | list->tail = tail; 28 | return list; 29 | } 30 | -------------------------------------------------------------------------------- /vendor/tiger/chap3/util.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | typedef char *string; 4 | typedef char bool; 5 | 6 | #define TRUE 1 7 | #define FALSE 0 8 | 9 | void *checked_malloc(int); 10 | string String(char *); 11 | 12 | typedef struct U_boolList_ *U_boolList; 13 | struct U_boolList_ {bool head; U_boolList tail;}; 14 | U_boolList U_BoolList(bool head, U_boolList tail); 15 | 16 | -------------------------------------------------------------------------------- /vendor/tiger/chap3/y.output: -------------------------------------------------------------------------------- 1 | 2 | state 0 3 | $accept : _program $end 4 | 5 | ID shift 3 6 | . error 7 | 8 | program goto 1 9 | exp goto 2 10 | 11 | state 1 12 | $accept : program_$end 13 | 14 | $end accept 15 | . error 16 | 17 | 18 | state 2 19 | program : exp_ (1) 20 | 21 | . reduce 1 22 | 23 | 24 | state 3 25 | exp : ID_ (2) 26 | 27 | . reduce 2 28 | 29 | 30 | 45/3000 terminals, 2/1000 nonterminals 31 | 3/2000 grammar rules, 4/5000 states 32 | 0 shift/reduce, 0 reduce/reduce conflicts reported 33 | 3/1400 working sets used 34 | memory: states,etc. 30/40000, parser 1/70000 35 | 3/600 distinct lookahead sets 36 | 0 extra closures 37 | 1 shift entries, 1 exceptions 38 | 2 goto entries 39 | 0 entries saved by goto default 40 | Optimizer space used: input 6/40000, output 3/70000 41 | 3 table entries, 0 zero 42 | maximum spread: 257, maximum offset: 257 43 | -------------------------------------------------------------------------------- /vendor/tiger/chap4/makefile: -------------------------------------------------------------------------------- 1 | a.out: parsetest.o y.tab.o lex.yy.o errormsg.o util.o 2 | cc -g parsetest.o y.tab.o lex.yy.o errormsg.o util.o 3 | 4 | parsetest.o: parsetest.c errormsg.h util.h 5 | cc -g -c parsetest.c 6 | 7 | y.tab.o: y.tab.c 8 | cc -g -c y.tab.c 9 | 10 | y.tab.c: tiger.grm 11 | yacc -dv tiger.grm 12 | 13 | y.tab.h: y.tab.c 14 | echo "y.tab.h was created at the same time as y.tab.c" 15 | 16 | errormsg.o: errormsg.c errormsg.h util.h 17 | cc -g -c errormsg.c 18 | 19 | lex.yy.o: lex.yy.c y.tab.h errormsg.h util.h 20 | cc -g -c lex.yy.c 21 | 22 | #lex.yy.c: tiger.lex 23 | # lex tiger.lex 24 | 25 | util.o: util.c util.h 26 | cc -g -c util.c 27 | 28 | clean: 29 | rm -f a.out util.o parsetest.o lex.yy.o errormsg.o y.tab.c y.tab.h y.tab.o 30 | -------------------------------------------------------------------------------- /vendor/tiger/chap4/parse.c: -------------------------------------------------------------------------------- 1 | /* 2 | * parse.c - Parse source file. 3 | */ 4 | 5 | #include 6 | #include "util.h" 7 | #include "symbol.h" 8 | #include "absyn.h" 9 | #include "errormsg.h" 10 | #include "parse.h" 11 | 12 | extern int yyparse(void); 13 | extern A_exp absyn_root; 14 | 15 | /* parse source file fname; 16 | return abstract syntax data structure */ 17 | A_exp parse(string fname) 18 | {EM_reset(fname); 19 | if (yyparse() == 0) /* parsing worked */ 20 | return absyn_root; 21 | else return NULL; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/tiger/chap4/parse.h: -------------------------------------------------------------------------------- 1 | /* function prototype from parse.c */ 2 | A_exp parse(string fname); 3 | 4 | -------------------------------------------------------------------------------- /vendor/tiger/chap4/prabsyn.h: -------------------------------------------------------------------------------- 1 | /* function prototype from prabsyn.c */ 2 | void pr_exp(FILE *out, A_exp v, int d); 3 | 4 | -------------------------------------------------------------------------------- /vendor/tiger/chap4/symbol.h: -------------------------------------------------------------------------------- 1 | /* 2 | * symbol.h - Symbols and symbol-tables 3 | * 4 | */ 5 | 6 | typedef struct S_symbol_ *S_symbol; 7 | 8 | /* Make a unique symbol from a given string. 9 | * Different calls to S_Symbol("foo") will yield the same S_symbol 10 | * value, even if the "foo" strings are at different locations. */ 11 | S_symbol S_Symbol(string); 12 | 13 | /* Extract the underlying string from a symbol */ 14 | string S_name(S_symbol); 15 | 16 | /* S_table is a mapping from S_symbol->any, where "any" is represented 17 | * here by void* */ 18 | typedef struct TAB_table_ *S_table; 19 | 20 | /* Make a new table */ 21 | S_table S_empty(void); 22 | 23 | /* Enter a binding "sym->value" into "t", shadowing but not deleting 24 | * any previous binding of "sym". */ 25 | void S_enter(S_table t, S_symbol sym, void *value); 26 | 27 | /* Look up the most recent binding of "sym" in "t", or return NULL 28 | * if sym is unbound. */ 29 | void *S_look(S_table t, S_symbol sym); 30 | 31 | /* Start a new "scope" in "t". Scopes are nested. */ 32 | void S_beginScope(S_table t); 33 | 34 | /* Remove any bindings entered since the current scope began, 35 | and end the current scope. */ 36 | void S_endScope(S_table t); 37 | 38 | -------------------------------------------------------------------------------- /vendor/tiger/chap4/table.h: -------------------------------------------------------------------------------- 1 | /* 2 | * table.h - generic hash table 3 | * 4 | * No algorithm should use these functions directly, because 5 | * programming with void* is too error-prone. Instead, 6 | * each module should make "wrapper" functions that take 7 | * well-typed arguments and call the TAB_ functions. 8 | */ 9 | 10 | typedef struct TAB_table_ *TAB_table; 11 | 12 | /* Make a new table mapping "keys" to "values". */ 13 | TAB_table TAB_empty(void); 14 | 15 | /* Enter the mapping "key"->"value" into table "t", 16 | * shadowing but not destroying any previous binding for "key". */ 17 | void TAB_enter(TAB_table t, void *key, void *value); 18 | 19 | /* Look up the most recent binding for "key" in table "t" */ 20 | void *TAB_look(TAB_table t, void *key); 21 | 22 | /* Pop the most recent binding and return its key. 23 | * This may expose another binding for the same key, if there was one. */ 24 | void *TAB_pop(TAB_table t); 25 | 26 | 27 | /* Call "show" on every "key"->"value" pair in the table, 28 | * including shadowed bindings, in order from the most 29 | * recent binding of any key to the oldest binding in the table */ 30 | void TAB_dump(TAB_table t, void (*show)(void *key, void *value)); 31 | 32 | 33 | -------------------------------------------------------------------------------- /vendor/tiger/chap4/tiger.grm: -------------------------------------------------------------------------------- 1 | %{ 2 | #include 3 | #include "util.h" 4 | #include "symbol.h" 5 | #include "errormsg.h" 6 | #include "absyn.h" 7 | 8 | int yylex(void); /* function prototype */ 9 | 10 | A_exp absyn_root; 11 | 12 | void yyerror(char *s) 13 | { 14 | EM_error(EM_tokPos, "%s", s); 15 | } 16 | %} 17 | 18 | 19 | %union { 20 | int pos; 21 | int ival; 22 | string sval; 23 | A_var var; 24 | A_exp exp; 25 | /* et cetera */ 26 | } 27 | 28 | %token ID STRING 29 | %token INT 30 | 31 | %token 32 | COMMA COLON SEMICOLON LPAREN RPAREN LBRACK RBRACK 33 | LBRACE RBRACE DOT 34 | PLUS MINUS TIMES DIVIDE EQ NEQ LT LE GT GE 35 | AND OR ASSIGN 36 | ARRAY IF THEN ELSE WHILE FOR TO DO LET IN END OF 37 | BREAK NIL 38 | FUNCTION VAR TYPE 39 | 40 | %type exp program 41 | /* et cetera */ 42 | 43 | %start program 44 | 45 | %% 46 | 47 | program: exp {absyn_root=$1;} 48 | 49 | exp: ID {$$=A_VarExp(EM_tokPos,A_SimpleVar(EM_tokPos,S_Symbol($1)));} 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /vendor/tiger/chap5/types.h: -------------------------------------------------------------------------------- 1 | /* 2 | * types.h - 3 | * 4 | * All types and functions declared in this header file begin with "Ty_" 5 | * Linked list types end with "..list" 6 | */ 7 | 8 | typedef struct Ty_ty_ *Ty_ty; 9 | typedef struct Ty_tyList_ *Ty_tyList; 10 | typedef struct Ty_field_ *Ty_field; 11 | typedef struct Ty_fieldList_ *Ty_fieldList; 12 | 13 | struct Ty_ty_ {enum {Ty_record, Ty_nil, Ty_int, Ty_string, Ty_array, 14 | Ty_name, Ty_void} kind; 15 | union {Ty_fieldList record; 16 | Ty_ty array; 17 | struct {S_symbol sym; Ty_ty ty;} name; 18 | } u; 19 | }; 20 | 21 | struct Ty_tyList_ {Ty_ty head; Ty_tyList tail;}; 22 | struct Ty_field_ {S_symbol name; Ty_ty ty;}; 23 | struct Ty_fieldList_ {Ty_field head; Ty_fieldList tail;}; 24 | 25 | Ty_ty Ty_Nil(void); 26 | Ty_ty Ty_Int(void); 27 | Ty_ty Ty_String(void); 28 | Ty_ty Ty_Void(void); 29 | 30 | Ty_ty Ty_Record(Ty_fieldList fields); 31 | Ty_ty Ty_Array(Ty_ty ty); 32 | Ty_ty Ty_Name(S_symbol sym, Ty_ty ty); 33 | 34 | Ty_tyList Ty_TyList(Ty_ty head, Ty_tyList tail); 35 | Ty_field Ty_Field(S_symbol name, Ty_ty ty); 36 | Ty_fieldList Ty_FieldList(Ty_field head, Ty_fieldList tail); 37 | 38 | void Ty_print(Ty_ty t); 39 | void TyList_print(Ty_tyList list); 40 | -------------------------------------------------------------------------------- /vendor/tiger/chap6/temp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * temp.h 3 | * 4 | */ 5 | 6 | typedef struct Temp_temp_ *Temp_temp; 7 | Temp_temp Temp_newtemp(void); 8 | 9 | typedef struct Temp_tempList_ *Temp_tempList; 10 | struct Temp_tempList_ { Temp_temp head; Temp_tempList tail;}; 11 | Temp_tempList Temp_TempList(Temp_temp h, Temp_tempList t); 12 | 13 | typedef S_symbol Temp_label; 14 | Temp_label Temp_newlabel(void); 15 | Temp_label Temp_namedlabel(string name); 16 | string Temp_labelstring(Temp_label s); 17 | 18 | typedef struct Temp_labelList_ *Temp_labelList; 19 | struct Temp_labelList_ { Temp_label head; Temp_labelList tail;}; 20 | Temp_labelList Temp_LabelList(Temp_label h, Temp_labelList t); 21 | 22 | typedef struct Temp_map_ *Temp_map; 23 | Temp_map Temp_empty(void); 24 | Temp_map Temp_layerMap(Temp_map over, Temp_map under); 25 | void Temp_enter(Temp_map m, Temp_temp t, string s); 26 | string Temp_look(Temp_map m, Temp_temp t); 27 | void Temp_dumpMap(FILE *out, Temp_map m); 28 | 29 | Temp_map Temp_name(void); 30 | 31 | -------------------------------------------------------------------------------- /vendor/tiger/chap7/printtree.h: -------------------------------------------------------------------------------- 1 | /* function prototype from printtree.c */ 2 | void printStmList (FILE *out, T_stmList stmList) ; 3 | 4 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/queens.tig: -------------------------------------------------------------------------------- 1 | /* A program to solve the 8-queens problem */ 2 | 3 | let 4 | var N := 8 5 | 6 | type intArray = array of int 7 | 8 | var row := intArray [ N ] of 0 9 | var col := intArray [ N ] of 0 10 | var diag1 := intArray [N+N-1] of 0 11 | var diag2 := intArray [N+N-1] of 0 12 | 13 | function printboard() = 14 | (for i := 0 to N-1 15 | do (for j := 0 to N-1 16 | do print(if col[i]=j then " O" else " ."); 17 | print("\n")); 18 | print("\n")) 19 | 20 | function try(c:int) = 21 | ( /* for i:= 0 to c do print("."); print("\n"); flush();*/ 22 | if c=N 23 | then printboard() 24 | else for r := 0 to N-1 25 | do if row[r]=0 & diag1[r+c]=0 & diag2[r+7-c]=0 26 | then (row[r]:=1; diag1[r+c]:=1; diag2[r+7-c]:=1; 27 | col[c]:=r; 28 | try(c+1); 29 | row[r]:=0; diag1[r+c]:=0; diag2[r+7-c]:=0) 30 | 31 | ) 32 | in try(0) 33 | end 34 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test1.tig: -------------------------------------------------------------------------------- 1 | /* an array type and an array variable */ 2 | let 3 | type arrtype = array of int 4 | var arr1:arrtype := arrtype [10] of 0 5 | in 6 | arr1 7 | end 8 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test10.tig: -------------------------------------------------------------------------------- 1 | /* error : body of while not unit */ 2 | while(10 > 5) do 5+6 3 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test11.tig: -------------------------------------------------------------------------------- 1 | /* error hi expr is not int, and index variable erroneously assigned to. */ 2 | for i:=10 to " " do 3 | i := i - 1 4 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test12.tig: -------------------------------------------------------------------------------- 1 | /* valid for and let */ 2 | 3 | let 4 | var a:= 0 5 | in 6 | for i:=0 to 100 do (a:=a+1;()) 7 | end 8 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test13.tig: -------------------------------------------------------------------------------- 1 | /* error: comparison of incompatible types */ 2 | 3 | 3 > "df" 4 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test14.tig: -------------------------------------------------------------------------------- 1 | /* error : compare rec with array */ 2 | 3 | let 4 | 5 | type arrtype = array of int 6 | type rectype = {name:string, id: int} 7 | 8 | var rec := rectype {name="aname", id=0} 9 | var arr := arrtype [3] of 0 10 | 11 | in 12 | if rec <> arr then 3 else 4 13 | end 14 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test15.tig: -------------------------------------------------------------------------------- 1 | /* error : if-then returns non unit */ 2 | 3 | if 20 then 3 4 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test16.tig: -------------------------------------------------------------------------------- 1 | /* error: mutually recursive types thet do not pass through record or array */ 2 | let 3 | 4 | type a=c 5 | type b=a 6 | type c=d 7 | type d=a 8 | 9 | in 10 | "" 11 | end 12 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test17.tig: -------------------------------------------------------------------------------- 1 | /* error: definition of recursive types is interrupted */ 2 | let 3 | /* define a tree */ 4 | type tree ={key: int, children: treelist} 5 | var d:int :=0 6 | type treelist = {hd: tree, tl: treelist} 7 | 8 | in 9 | d 10 | end 11 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test18.tig: -------------------------------------------------------------------------------- 1 | /* error : definition of recursive functions is interrupted */ 2 | let 3 | 4 | function do_nothing1(a: int, b: string):int= 5 | (do_nothing2(a+1);0) 6 | 7 | var d:=0 8 | 9 | function do_nothing2(d: int):string = 10 | (do_nothing1(d, "str");" ") 11 | 12 | in 13 | do_nothing1(0, "str2") 14 | end 15 | 16 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test19.tig: -------------------------------------------------------------------------------- 1 | /* error : second function uses variables local to the first one, undeclared variable */ 2 | let 3 | 4 | function do_nothing1(a: int, b: string):int= 5 | (do_nothing2(a+1);0) 6 | 7 | function do_nothing2(d: int):string = 8 | (do_nothing1(a, "str");" ") 9 | 10 | in 11 | do_nothing1(0, "str2") 12 | end 13 | 14 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test2.tig: -------------------------------------------------------------------------------- 1 | /* arr1 is valid since expression 0 is int = myint */ 2 | let 3 | type myint = int 4 | type arrtype = array of myint 5 | 6 | var arr1:arrtype := arrtype [10] of 0 7 | in 8 | arr1 9 | end 10 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test20.tig: -------------------------------------------------------------------------------- 1 | /* error: undeclared variable i */ 2 | 3 | while 10 > 5 do (i+1;()) 4 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test21.tig: -------------------------------------------------------------------------------- 1 | /* error : procedure returns value and procedure is used in arexpr */ 2 | let 3 | 4 | /* calculate n! */ 5 | function nfactor(n: int) = 6 | if n = 0 7 | then 1 8 | else n * nfactor(n-1) 9 | 10 | in 11 | nfactor(10) 12 | end 13 | 14 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test22.tig: -------------------------------------------------------------------------------- 1 | /* error : field not in record type */ 2 | 3 | let 4 | type rectype = {name:string , id:int} 5 | var rec1 := rectype {name="Name", id=0} 6 | in 7 | rec1.nam := "asd" 8 | end 9 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test23.tig: -------------------------------------------------------------------------------- 1 | /* error : type mismatch */ 2 | 3 | let 4 | type rectype = {name:string , id:int} 5 | var rec1 := rectype {name="aname", id=0} 6 | in 7 | rec1.name := 3; 8 | rec1.id := "" 9 | end 10 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test24.tig: -------------------------------------------------------------------------------- 1 | /* error : variable not array */ 2 | let 3 | var d:=0 4 | in 5 | d[3] 6 | end 7 | 8 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test25.tig: -------------------------------------------------------------------------------- 1 | /* error : variable not record */ 2 | let 3 | var d:=0 4 | in 5 | d.f 6 | end 7 | 8 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test26.tig: -------------------------------------------------------------------------------- 1 | /* error : integer required */ 2 | 3 | 3 + "var" 4 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test27.tig: -------------------------------------------------------------------------------- 1 | /* locals hide globals */ 2 | let 3 | var a:=0 4 | 5 | function g(a:int):int = a 6 | in 7 | g(2) 8 | end 9 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test28.tig: -------------------------------------------------------------------------------- 1 | /* error : different record types */ 2 | 3 | let 4 | type rectype1 = {name:string , id:int} 5 | type rectype2 = {name:string , id:int} 6 | 7 | var rec1: rectype1 := rectype2 {name="Name", id=0} 8 | in 9 | rec1 10 | end 11 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test29.tig: -------------------------------------------------------------------------------- 1 | /* error : different array types */ 2 | 3 | let 4 | type arrtype1 = array of int 5 | type arrtype2 = array of int 6 | 7 | var arr1: arrtype1 := arrtype2 [10] of 0 8 | in 9 | arr1 10 | end 11 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test3.tig: -------------------------------------------------------------------------------- 1 | /* a record type and a record variable */ 2 | let 3 | type rectype = {name:string, age:int} 4 | var rec1:rectype := rectype {name="Nobody", age=1000} 5 | in 6 | rec1.name := "Somebody"; 7 | rec1 8 | end 9 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test30.tig: -------------------------------------------------------------------------------- 1 | /* synonyms are fine */ 2 | 3 | let 4 | type a = array of int 5 | type b = a 6 | 7 | var arr1:a := b [10] of 0 8 | in 9 | arr1[2] 10 | end 11 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test31.tig: -------------------------------------------------------------------------------- 1 | /* error : type constraint and init value differ */ 2 | let 3 | var a:int := " " 4 | in 5 | a 6 | end 7 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test32.tig: -------------------------------------------------------------------------------- 1 | /* error : initializing exp and array type differ */ 2 | 3 | let 4 | type arrayty = array of int 5 | 6 | var a := arrayty [10] of " " 7 | in 8 | 0 9 | end 10 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test33.tig: -------------------------------------------------------------------------------- 1 | /* error : unknown type */ 2 | let 3 | var a:= rectype {} 4 | in 5 | 0 6 | end 7 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test34.tig: -------------------------------------------------------------------------------- 1 | /* error : formals and actuals have different types */ 2 | let 3 | function g (a:int , b:string):int = a 4 | in 5 | g("one", "two") 6 | end 7 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test35.tig: -------------------------------------------------------------------------------- 1 | /* error : formals are more then actuals */ 2 | let 3 | function g (a:int , b:string):int = a 4 | in 5 | g("one") 6 | end 7 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test36.tig: -------------------------------------------------------------------------------- 1 | /* error : formals are fewer then actuals */ 2 | let 3 | function g (a:int , b:string):int = a 4 | in 5 | g(3,"one",5) 6 | end 7 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test37.tig: -------------------------------------------------------------------------------- 1 | /* redeclaration of variable; this is legal, there are two different 2 | variables with the same name. The second one hides the first. */ 3 | let 4 | var a := 0 5 | var a := " " 6 | in 7 | 0 8 | end 9 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test38.tig: -------------------------------------------------------------------------------- 1 | /* This is illegal, since there are two types with the same name 2 | in the same (consecutive) batch of mutually recursive types. 3 | See also test47 */ 4 | let 5 | type a = int 6 | type a = string 7 | in 8 | 0 9 | end 10 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test39.tig: -------------------------------------------------------------------------------- 1 | /* This is illegal, since there are two functions with the same name 2 | in the same (consecutive) batch of mutually recursive functions. 3 | See also test48 */ 4 | let 5 | function g(a:int):int = a 6 | function g(a:int):int = a 7 | in 8 | 0 9 | end 10 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test4.tig: -------------------------------------------------------------------------------- 1 | /* define a recursive function */ 2 | let 3 | 4 | /* calculate n! */ 5 | function nfactor(n: int): int = 6 | if n = 0 7 | then 1 8 | else n * nfactor(n-1) 9 | 10 | in 11 | nfactor(10) 12 | end 13 | 14 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test40.tig: -------------------------------------------------------------------------------- 1 | /* error : procedure returns value */ 2 | let 3 | function g(a:int) = a 4 | in 5 | g(2) 6 | end 7 | 8 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test41.tig: -------------------------------------------------------------------------------- 1 | /* local types hide global */ 2 | let 3 | type a = int 4 | in 5 | let 6 | type a = string 7 | in 8 | 0 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test42.tig: -------------------------------------------------------------------------------- 1 | /* correct declarations */ 2 | let 3 | 4 | type arrtype1 = array of int 5 | type rectype1 = {name:string, address:string, id: int , age: int} 6 | type arrtype2 = array of rectype1 7 | type rectype2 = {name : string, dates: arrtype1} 8 | 9 | type arrtype3 = array of string 10 | 11 | var arr1 := arrtype1 [10] of 0 12 | var arr2 := arrtype2 [5] of rectype1 {name="aname", address="somewhere", id=0, age=0} 13 | var arr3:arrtype3 := arrtype3 [100] of "" 14 | 15 | var rec1 := rectype1 {name="Kapoios", address="Kapou", id=02432, age=44} 16 | var rec2 := rectype2 {name="Allos", dates= arrtype1 [3] of 1900} 17 | 18 | in 19 | 20 | arr1[0] := 1; 21 | arr1[9] := 3; 22 | arr2[3].name := "kati"; 23 | arr2[1].age := 23; 24 | arr3[34] := "sfd"; 25 | 26 | rec1.name := "sdf"; 27 | rec2.dates[0] := 2323; 28 | rec2.dates[2] := 2323 29 | 30 | end 31 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test43.tig: -------------------------------------------------------------------------------- 1 | /* initialize with unit and causing type mismatch in addition */ 2 | 3 | let 4 | var a := () 5 | in 6 | a + 3 7 | end 8 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test44.tig: -------------------------------------------------------------------------------- 1 | /* valid nil initialization and assignment */ 2 | let 3 | 4 | type rectype = {name:string, id:int} 5 | var b:rectype := nil 6 | 7 | in 8 | 9 | b := nil 10 | 11 | end 12 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test45.tig: -------------------------------------------------------------------------------- 1 | /* error: initializing nil expressions not constrained by record type */ 2 | let 3 | type rectype = {name:string, id:int} 4 | 5 | var a:= nil 6 | in 7 | a 8 | end 9 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test46.tig: -------------------------------------------------------------------------------- 1 | /* valid rec comparisons */ 2 | let 3 | type rectype = {name:string, id:int} 4 | var b:rectype := nil 5 | in 6 | b = nil; 7 | b <> nil 8 | end 9 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test47.tig: -------------------------------------------------------------------------------- 1 | /* This is legal. The second type "a" simply hides the first one. 2 | Because of the intervening variable declaration, the two "a" types 3 | are not in the same batch of mutually recursive types. 4 | See also test38 */ 5 | let 6 | type a = int 7 | var b := 4 8 | type a = string 9 | in 10 | 0 11 | end 12 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test48.tig: -------------------------------------------------------------------------------- 1 | /* This is legal. The second function "g" simply hides the first one. 2 | Because of the intervening variable declaration, the two "g" functions 3 | are not in the same batch of mutually recursive functions. 4 | See also test39 */ 5 | let 6 | function g(a:int):int = a 7 | type t = int 8 | function g(a:int):int = a 9 | in 10 | 0 11 | end 12 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test49.tig: -------------------------------------------------------------------------------- 1 | /* error: syntax error, nil should not be preceded by type-id. */ 2 | let 3 | type rectype = {name:string, id:int} 4 | 5 | var a:= rectype nil 6 | in 7 | a 8 | end 9 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test5.tig: -------------------------------------------------------------------------------- 1 | /* define valid recursive types */ 2 | let 3 | /* define a list */ 4 | type intlist = {hd: int, tl: intlist} 5 | 6 | /* define a tree */ 7 | type tree ={key: int, children: treelist} 8 | type treelist = {hd: tree, tl: treelist} 9 | 10 | var lis:intlist := intlist { hd=0, tl= nil } 11 | 12 | in 13 | lis 14 | end 15 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test6.tig: -------------------------------------------------------------------------------- 1 | /* define valid mutually recursive procedures */ 2 | let 3 | 4 | function do_nothing1(a: int, b: string)= 5 | do_nothing2(a+1) 6 | 7 | function do_nothing2(d: int) = 8 | do_nothing1(d, "str") 9 | 10 | in 11 | do_nothing1(0, "str2") 12 | end 13 | 14 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test7.tig: -------------------------------------------------------------------------------- 1 | /* define valid mutually recursive functions */ 2 | let 3 | 4 | function do_nothing1(a: int, b: string):int= 5 | (do_nothing2(a+1);0) 6 | 7 | function do_nothing2(d: int):string = 8 | (do_nothing1(d, "str");" ") 9 | 10 | in 11 | do_nothing1(0, "str2") 12 | end 13 | 14 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test8.tig: -------------------------------------------------------------------------------- 1 | /* correct if */ 2 | if (10 > 20) then 30 else 40 3 | -------------------------------------------------------------------------------- /vendor/tiger/testcases/test9.tig: -------------------------------------------------------------------------------- 1 | /* error : types of then - else differ */ 2 | 3 | if (5>4) then 13 else " " 4 | --------------------------------------------------------------------------------