𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Zero—a blend of static typing and dynamic metaprogramming

✍ Scribed by Sašo Greiner; Janez Brest; Viljem Žumer


Publisher
Elsevier Science
Year
2009
Tongue
English
Weight
221 KB
Volume
35
Category
Article
ISSN
1477-8424

No coin nor oath required. For personal study only.

✦ Synopsis


Run-time modification

Zero is an experimental statically typed, fully object-oriented reflective programming language. Reflective features cover introspection as well as structural and behavioural reflection. The reflective facilities include safe method and class replacements and detailed modification of methods. These enable Zero programs to quickly accommodate to run-time requirements. Behavioural reflection is realised using handlers (hooks), which may be attached to all language constructs based on closures. Zero provides an efficient static typing system with run-time extensions. Methods are first class values and are represented as objects when such representation is required. By using such representation, Zero provides elegant use of statically typed higher-order methods.


📜 SIMILAR VOLUMES


A type system for static and dynamic che
✍ Giuseppe Della Penna 📂 Article 📅 2005 🏛 Elsevier Science 🌐 English ⚖ 617 KB

Object-oriented programming is the most used programming paradigm when dealing with large-scale, modular software. In this ÿeld, the two leading languages are Java and C++. The former has superior qualities in terms of safety and ease of programming, whereas the latter is often considered an "old" l

Static and dynamic aspects of a capsize
✍ M. Taylan 📂 Article 📅 2003 🏛 Elsevier Science 🌐 English ⚖ 219 KB

Capsizing of ships constitutes a primary group of casualties that leads to loss of life and money. Unfortunately, its mechanism has yet to be fully resolved due to underlying complex dynamics and parameters. Upon studying the causes in more detail, designing safer ships against capsizing may become