CSC/ECE 517 Spring 2013/ch1 1h jc: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
==Program transformation system==
==Program transformation system==
==Metaprogramming using Scheme==
==Metaprogramming using Scheme==
=Uses of Metaprogramming in statically typed languages=
=Common Uses=
==Pre-generate static data at compile time==
==Pre-generate static data at compile time==
===Example===
===Example===
Line 13: Line 13:
==Abbreviate statements and prevent mistakes==
==Abbreviate statements and prevent mistakes==
===Example===
===Example===
=Metaprogramming in Java=
=Metaprogramming Framework in Java=
==Reflection==
==Reflection==
==Generics==
==Generics==
==Metadata annotation==
==Metadata annotation==

Revision as of 01:02, 15 February 2013

Introduction to Metaprogramming in statically typed languages

What is metaprogramming

Metaprogramming in statically typed languages

Implementation of Metaprogramming in statically typed languages

Exposing the internals of the compiler as an API

Program transformation system

Metaprogramming using Scheme

Common Uses

Pre-generate static data at compile time

Example

Eliminate boiler-plate

Example

Abbreviate statements and prevent mistakes

Example

Metaprogramming Framework in Java

Reflection

Generics

Metadata annotation