Commit 27dd27dc authored by Stefan's avatar Stefan
Browse files

* src/elab.ml: Make symbols into shorthands for `typer-identifier SYM`

(newMetalevel, newMetatype): Take a lexp_context i.s.o elab_context.
(infer_varref): New function, extracted from `infer`.
(infer): Make symbols into shorthands for `typer-identifier SYM` and
blocks into shorthands for `typer-block BLOCK`.
(check): Same rewrite for symbols.
(sform_identifier): New functions, using code extracted from `infer`
and `check`.
(register_special_forms): Use it to implement `typer-identifier`.
parent c9eae130
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment