• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to project page

2013 Fiscal Year Final Research Report

A study on hygienic syntactic macro system as a generic meta-programming foundation

Research Project

  • PDF
Project/Area Number 23500034
Research Category

Grant-in-Aid for Scientific Research (C)

Allocation TypeMulti-year Fund
Section一般
Research Field Software
Research InstitutionTokyo Institute of Technology

Principal Investigator

WAKITA Ken  東京工業大学, 情報理工学(系)研究科, 准教授 (10242265)

Co-Investigator(Kenkyū-buntansha) SASAKI Akira  法政大学, 情報科学部, 准教授 (90396870)
Project Period (FY) 2011 – 2013
Keywords構文マクロシステム / メタプログラミング / JavaScript / LISP
Research Abstract

Macro systems have been widely adopted to existing programming languages. However, it is also known that simple macro systems cause serious programming errors. Hygienic syntactic macro system that has been studied in the context of LISP culture is a solution to problems of traditional macro system but a implementations for non-LISP languages are rare and a systematic implementation scheme has been unknown. The research proposes a compact and systematic implementation scheme for generic programming languages. We have applied the proposed technique to implement hygienic macro systems for JavaScript and Scala. The proposal resolves two technical obstacles: (1) implementation of extensible parser, and (2) implementation of macro expander.

  • Research Products

    (11 results)

All 2014 2013 2012 2011 Other

All Journal Article (1 results) (of which Peer Reviewed: 1 results) Presentation (7 results) Remarks (3 results)

  • [Journal Article] 解析表現文法とScheme マクロ展開器を用いたJavaScript 向けHygienic 構文マクロシステムの実装2013

    • Author(s)
      甫水佳奈子, 脇田建, 佐々木晃
    • Journal Title

      情報処理学会論文誌. プログラミング

      Volume: 6(2) Pages: 85-101

    • URL

      http://id.nii.ac.jp/1001/00094924/

    • Peer Reviewed
  • [Presentation] ビジュアルブロックを採用したドメイン特化言語とその開発ツールの実現手法2014

    • Author(s)
      栗原あずさ, 佐々木晃, 脇田建
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • URL

      http://www.ieice.org/ken/paper/20140312aBML/

    • Place of Presentation
      那覇
    • Year and Date
      2014-03-12
  • [Presentation] 差分的に記述された解析表現文法に対する構文解析器の合成2013

    • Author(s)
      森健輔, 脇田建
    • Organizer
      日本ソフトウェア科学会創設30周年記念大会
    • URL

      http://www.is.titech.ac.jp/~wakita/sites/jssst2013/program.pdf

    • Place of Presentation
      東京
    • Year and Date
      2013-09-13
  • [Presentation] 役割指向を用いた並行システムの記述と実装手法の提案2013

    • Author(s)
      柏木孝仁, 佐々木晃, 田沼英樹
    • Organizer
      第3回社会システム部会研究会
    • URL

      http://www.socsys.org/symposium003/program/

    • Place of Presentation
      盛岡
    • Year and Date
      2013-02-27
  • [Presentation] Hygienic 構文マクロシステムを用いたJavaScript プログラミング2013

    • Author(s)
      脇田建, 甫水佳奈子, 佐々木晃
    • Organizer
      第54回プログラミング・シンポジウム
    • URL

      http://www.ipsj.or.jp/prosym/54/54program.html

    • Place of Presentation
      箱根
    • Year and Date
      2013-01-11
  • [Presentation] A proposal of implementation technique for hygienic syntactic macro system for JavaScript2012

    • Author(s)
      Kanako Homizu, Ken Wakita, and Akira Sasaki
    • Organizer
      10th Asian symposium on Programming languages and systems
    • Place of Presentation
      京都
    • Year and Date
      2012-12-12
  • [Presentation] Scheme 言語をルール記述言語とした役割指向記述の試み2012

    • Author(s)
      柏木孝仁, 佐々木晃, 田沼英樹
    • Organizer
      情報処理学会全国大会
    • URL

      http://id.nii.ac.jp/1001/00084585/

    • Place of Presentation
      名古屋
    • Year and Date
      2012-03-06
  • [Presentation] 構文マクロ定義を利用した動的拡張可能なエディタ2011

    • Author(s)
      甫水佳奈子, 脇田建, 佐々木晃
    • Organizer
      日本ソフトウェア科学会第19回インタラクティブシステムとソフトウェアに関するワークショップ
    • URL

      http://www.wiss.org/WISS2011Proceedings/PDF/066.pdf

    • Place of Presentation
      宮津
    • Year and Date
      2011-12-12
  • [Remarks] 甫水佳奈子, js-macro : A hygienic macro system for JavaScript(ホームページ等)

    • URL

      https://github.com/homizu/js-macro

  • [Remarks] 甫水佳奈子, マクロプログラミングサンプル集(ホームページ等)

    • URL

      http://www.is.titech.ac.jp/~homizu8/ex-js/index.html

  • [Remarks] 脇田建, 高級マクロシステム(ホームページ等)

    • URL

      http://kwakita.wordpress.com/projects/macros

URL: 

Published: 2015-07-16  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi