Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /trunk/src/compiler/IL/HOWTO-ADD-NEW-PRIMOP
ViewVC logotype

View of /trunk/src/compiler/IL/HOWTO-ADD-NEW-PRIMOP

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1115 - (download) (annotate)
Thu May 5 04:42:18 2011 UTC (8 years, 4 months ago) by jhr
File size: 439 byte(s)
  More merging of pure-cfg back into trunk
These are instructions for adding a new primitive operator to the IL.

  1) add it to the spec files in IL/gen and run gen.sh

  2) add rules for generating the type signature in the appropriate checking modules in
	high-il/check-high-il.sml
	mid-il/check-mid-il.sml
	low-il/check-low-il.sml

  3) add rules to translate the operator between ILs in
	high-to-mid/high-to-mid.sml
	mid-to-low/mid-to-low.sml

  4) add code generation support

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0