summaryrefslogtreecommitdiff
path: root/README-hacking.md
Commit message (Collapse)AuthorAgeFilesLines
* package: bump copyrights to 2022Paul Eggert2022-01-151-1/+1
| | | | Run "make update-copyright".
* Update URLs to prefer https: to http:Paul Eggert2021-01-291-22/+22
| | | | Also, fix a few http: URLs that were no longer working.
* tests: provide check-examples and check-testsAkim Demaille2021-01-271-19/+19
| | | | | | * examples/local.mk (check-examples): New. * tests/local.mk (check-tests): New. * README-hacking.md: Document them.
* package: bump copyrights to 2021Akim Demaille2021-01-161-1/+1
| | | | Run 'make update-copyright'.
* doc: more about sanitizersAkim Demaille2020-12-261-15/+32
| | | | * README-hacking.md: here.
* glr2.cc: more checksAkim Demaille2020-12-201-0/+10
| | | | | * data/skeletons/glr2.cc: Clarify use of magic numbers. (glr_stack_item::getState): Check the returned state.
* doc: using stow to set up a bison herdAkim Demaille2020-11-201-0/+18
| | | | * README-hacking.md (Stow): New.
* style: comment changes in the skeletonsAkim Demaille2020-11-031-3/+5
| | | | | * data/skeletons/lalr1.cc: Prepare for Java's LAC. * data/skeletons/lalr1.java: Style fixes.
* CI: beware of time limitsAkim Demaille2020-09-171-2/+4
| | | | * .travis.yml (GCC 8): Run only the part 1 of the tests.
* glr2.cc: disable GCC 4.6 warningAkim Demaille2020-09-151-0/+20
| | | | | | | | | | | | | | | 231. conflicts.at:1096: testing Syntax error in consistent error state: glr2.cc ... tests/conflicts.at:1096: $CXX $CXXFLAGS $CPPFLAGS $LDFLAGS -o input input.cc $LIBS input.cc: In member function 'YYRESULTTAG glr_stack::yyresolveValue(glr_state*)': input.cc:2674:36: error: 'yysval' may be used uninitialized in this function [-Werror=uninitialized] Do not initialize the variable: this way ASAN can really make sure we do set it to a proper value. If we initialize it, ASAN would report nothing. * data/skeletons/c.m4 (YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN): Disable GCC 4.6's -Wuninitialized. * data/skeletons/glr2.cc: Disable the warning locally.
* maint: make it easier to update expectationsAkim Demaille2020-07-111-1/+1
| | | | * tests/local.mk (update-tests): New.
* doc: more details about symbols in m4Akim Demaille2020-07-051-0/+2
| | | | | * data/README.md: here. * README-hacking.md (Vocabulary): More.
* doc: tidy the text filesAkim Demaille2020-06-291-0/+3
| | | | | | * etc/README: Rename/reformat as... * etc/README.md: this. And ship it.
* doc: overhaul of the readmesAkim Demaille2020-06-281-183/+195
| | | | | | | * README-hacking.md (Working from the Repository): Make it first to make it easier to find the instructions to build from the repo. (Implementation Notes): New. * README: Provide more links.
* style: shift/reduce, not shift-reduceAkim Demaille2020-06-281-2/+4
| | | | * src/reader.c: here.
* style: use 'nonterminal' consistentlyAkim Demaille2020-06-271-0/+4
| | | | | | | | | * doc/bison.texi: Formatting changes. * src/gram.h, src/gram.c (nvars): Rename as... (nnterms): this. Adjust dependencies. (section): New. Use it. Replace "non terminal" and "non-terminal" by "nonterminal".
* cex: don't assume the terminal supports "•"Akim Demaille2020-06-161-3/+4
| | | | | | | | | | Use of print_unicode_char suggested by Bruno Haible. https://lists.gnu.org/r/bug-gettext/2020-06/msg00012.html * src/gram.h (print_dot_fallback, print_dot): New. * src/gram.c, src/derivation.c: Use it. * tests/counterexample.at, tests/report.at: Adjust the test suite. * .travis.yml, README-hacking.md: Adjust.
* doc: using asanAkim Demaille2020-06-011-5/+32
| | | | * README-hacking.md: here.
* style: fix includesAkim Demaille2020-06-011-0/+24
| | | | | | | * src/fixits.c: Follow our usual pattern. * src/scan-code.l, src/scan-gram.l, src/scan-skel.l: Prefer "" to include src/ headers. * README-hacking.md: Document the pattern.
* style: spell fixesAkim Demaille2020-05-231-0/+4
| | | | | | | | * Makefile.am (codespell): New. * doc/bison.texi: Fixes. Use @option for options. * src/lssi.c, src/lssi.h, src/parse-simulation.h, src/state-item.c: Fix spellos.
* doc: hacking tricksAkim Demaille2020-04-261-0/+14
| | | | * README-hacking.md: Here.
* style: c: fix a few minor issues about indentation of cpp directivesAkim Demaille2020-04-251-0/+25
| | | | | * README-hacking.md: More about cpp. * data/skeletons/c.m4, data/skeletons/yacc.c: Style changes.
* doc: spell checkAkim Demaille2020-04-131-6/+8
| | | | | * doc/bison.texi, NEWS, README-hacking.md: here. And elsewhere.
* doc: more about the coding styleAkim Demaille2020-04-131-0/+46
| | | | | * README-hacking.md: here. (Troubleshooting): New.
* java: use getExpectedTokens, not yyexpectedTokensAkim Demaille2020-04-061-1/+6
| | | | | * data/skeletons/lalr1.java, examples/java/calc/Calc.y, tests/local.at: here.
* doc: remove obsolete release instructionsAkim Demaille2020-04-051-163/+0
| | | | * README-hacking.md: here.
* readme: more about the coding styleAkim Demaille2020-04-041-15/+58
|
* README: point to tests/bison, and document --traceAkim Demaille2020-03-051-1/+16
| | | | | | Reported by Victor Morales Cayuela. * README, README-hacking.md: here.
* package: bump copyrights to 2020Akim Demaille2020-01-051-1/+1
| | | | Run 'make update-copyright'.
* doc: minor changesAkim Demaille2019-12-071-2/+2
| | | | * README-hacking.md: here.
* doc: more details about the test suiteAkim Demaille2019-11-221-31/+41
| | | | * README-hacking.md: here.
* doc: clarify build instructionsAkim Demaille2019-11-111-0/+534
* README: A few fixes. Explain how to install color support. * README-hacking: Rename as... * README-hacking.md: this, and convert to Markdown. Improve typography. Improve explanations about update-test.