1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00
guile/module
Andy Wingo 116f94d661 Add language-specific analysis pass to compiler infrastructure
* module/system/base/compile.scm (compute-analyzer): Compute analyzer to
  run on expressions before the compiler runs.
  (add-default-optimizations): Flesh out; still a stub.a
  (read-and-compile, compile, compile-and-load, compile-file): Default
  warning and optimization levels.
  (default-warning-level): New parameter, defaulting to 1.
  (default-optimization-level): New parameter, defaulting to 2.
  Currently unused.
* module/system/base/language.scm (<language>): Add
  optimizations-for-level and analyzer fields.
* module/language/tree-il/compile-bytecode.scm (compile-bytecode):
* module/language/tree-il/compile-cps.scm (optimize-tree-il): No need to
  run warnings passes here; compilers infrastructure will run them.
* module/language/tree-il/spec.scm (tree-il): Define make-analyzer as
  analyzer.
* module/language/tree-il/analyze.scm (make-analyzer): New exported
  procedure.
  (%warning-passes): New private variable.
* .dir-locals.el: Add with-test-prefix/c&e indent mode.
* test-suite/tests/cross-compilation.test:
* test-suite/tests/optargs.test:
* test-suite/tests/tree-il.test: Adjust to disable default warnings.
2020-05-08 15:39:41 +02:00
..
ice-9 bitvector-count-bits replaces bit-count* 2020-04-29 11:14:17 +02:00
language Add language-specific analysis pass to compiler infrastructure 2020-05-08 15:39:41 +02:00
oop goops: Fix 'instance?' to work on objects that aren't structs. 2018-08-07 12:05:31 +02:00
rnrs rnrs: Export '&assertion' from (rnrs conditions). 2020-01-21 17:56:13 +01:00
scheme Support R7RS define-library 2020-01-12 20:31:47 +01:00
scripts use2dot: Fix incorrect #:autoload binding set leading to unbound variables. 2020-01-20 11:43:28 +01:00
srfi Replace bit-count with bitvector-count 2020-04-12 22:17:22 +02:00
sxml
system Add language-specific analysis pass to compiler infrastructure 2020-05-08 15:39:41 +02:00
texinfo texinfo: Properly render @acronym in plain text. 2020-01-29 15:19:37 +01:00
web web: Client treats TLS "premature termination" error as EOF. 2020-03-06 23:04:12 +01:00
Makefile.am Add baseline compiler 2020-05-04 15:23:04 +02:00
rnrs.scm Define top-level bindings for aux syntax: else, =>, _, ... 2019-09-12 21:50:51 +02:00
statprof.scm statprof: Ensure 'call-thunk' is not inlined. 2020-01-23 21:46:28 +01:00
texinfo.scm texinfo: fix @url{@@} parsing 2014-11-09 15:56:33 +00:00