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

SCM Repository

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

View of /branches/vis12/src/compiler/IL/HOWTO-ADD-NEW-PRIMOP

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1698 - (download) (annotate)
Fri Mar 2 22:12:26 2012 UTC (7 years, 6 months ago) by jhr
File size: 448 byte(s)
  Update instructions
These are instructions for adding a new primitive operator to the IL.

  1) add it to the spec files in compiler/gen/il 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