• Home
  • Search
  • Meta-programming with names and necessity
  • Cite Icon76
  • https://doi.org/10.1145/581478.581498Copy DOI Icon

Meta-programming with names and necessity

  • Sep 17, 2002
  • Aleksandar Nanevski
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Meta-programming languages provide infrastructure to generate and execute object programs at run-time. In a typed setting, they contain a modal type constructor which classifies object code. These code types generally come in two flavors: closed and open. Closed code expressions can be invoked at run-time, but the computations over them are more rigid, and typically produce less efficient residual object programs. Open code provides better inlining and partial evaluation of object programs, but once constructed, expressions of this type cannot in general be evaluated.Recent work in this area has focused on combining the two notions into a sound system. We present a novel way to achieve this. It is based on adding the notion of names from the work on Nominal Logic and FreshML to the λ -calculus of proof terms for the necessity fragment of modal logic S4. The resulting language provides a more fine-grained control over free variables of object programs when compared to the existing languages for meta-programming. In addition, this approach lends itself well to addition of intensional code analysis, i.e. ability of meta programs to inspect and destruct object programs at run-time in a type-safe manner, which we also undertake.

Similar Papers
  • Research Article
  • Citations15

Implementing typeful program transformations

  • Jun 07, 2003
  • ACM SIGPLAN Notices
  • Chiyan Chen +1
  • Conference Article
  • Citations19

Implementing typeful program transformations

  • Jun 07, 2003
  • Chiyan Chen +1
  • PDF
  • Research Article
  • Citations2

Development and evaluation of the IPLAY program: A protocol for a mixed-methods feasibility study targeting newcomer youth.

  • Apr 13, 2023
  • PloS one
  • Matthew Y W Kwan +4
  • Conference Article
  • Citations26

On compiling embedded languages in LISP

  • Jan 01, 1980
  • Pär Emanuelson +1
  • Research Article
  • Citations5

Intrinsically typed compilation with nameless labels

  • Jan 04, 2021
  • Proceedings of the ACM on Programming Languages
  • Arjen Rouvoet +2
  • Conference Article
  • Citations3

A Pattern Search Method for Unpreprocessed C Programs Based on Tokenized Syntax Trees

  • Sep 01, 2014
  • Atsushi Yoshida +1
  • Research Article
  • Citations4

A theory-driven organ donation campaign: a field intervention among university students in Iran

  • Jun 24, 2024
  • Clinical Transplantation and Research
  • Marzieh Latifi +4
  • Conference Article
  • Citations38

A tutorial on feature oriented programming and product-lines

  • Jan 01, 2003
  • D Batory
  • Research Article
  • Citations2

Data Embedding Scheme for Efficient Program Behavior Modeling With Neural Networks

  • Aug 01, 2022
  • IEEE Transactions on Emerging Topics in Computational Intelligence
  • Sunwoo Ahn +4
  • Conference Article
  • Citations192

Tutorial on specialisation of logic programs

  • Jan 01, 1993
  • J P Gallagher
  • Research Article
  • Citations3

Beyond Grades: A Holistic Parental Report Card for Korean Dual Language Programs

  • Apr 01, 2023
  • Teachers College Record: The Voice of Scholarship in Education
  • Jongyeon Ee
  • Research Article
  • Citations21

Evaluation of Database Search Programs for Accurate Detection of Neuropeptides in Tandem Mass Spectrometry Experiments

  • Nov 06, 2012
  • Journal of Proteome Research
  • Malik N Akhtar +4
  • Research Article

Surprised by success: An interim evaluation of an international career development programme

  • Apr 01, 2014
  • Journal of the National Institute for Career Education and Counselling
  • Kathleen Houston
  • Dissertation

A middle school co-teaching program evaluation in one suburban midwestern school district : perceptions from regular education co-teachers, special education co-teachers, and building administrators

  • May 01, 2018
  • Ashly M Mcginnis
  • Book Chapter
  • Citations1

A module system for meta-programming

  • Jan 01, 1994
  • P M Hill
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.