diff --git a/doc/intern.txt b/doc/intern.txt index d9da863f51..76139f6729 100644 --- a/doc/intern.txt +++ b/doc/intern.txt @@ -145,6 +145,16 @@ are also lots of procs that aid in debugging: # why does it process temp.nim here? writeStackTrace() +To create a new compiler for each run, use ``koch temp``:: + + ./koch temp c /tmp/test.nim + +``koch temp`` returns 125 as the exit code in case the compiler +compilation fails. This exit code tells ``git bisect`` to skip the +current commit.:: + + git bisect start bad-commit good-commit + git bisect ./koch -r c test-source.nim The compiler's architecture ===========================