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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1698 - (view) (download)

1 : jhr 1115 These are instructions for adding a new primitive operator to the IL.
2 :    
3 : jhr 1698 1) add it to the spec files in compiler/gen/il and run gen.sh
4 : jhr 1115
5 :     2) add rules for generating the type signature in the appropriate checking modules in
6 :     high-il/check-high-il.sml
7 :     mid-il/check-mid-il.sml
8 :     low-il/check-low-il.sml
9 :    
10 :     3) add rules to translate the operator between ILs in
11 :     high-to-mid/high-to-mid.sml
12 :     mid-to-low/mid-to-low.sml
13 :    
14 :     4) add code generation support

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