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

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

Research Project

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
Project Status Completed (Fiscal Year 2013)
Budget Amount *help
¥5,070,000 (Direct Cost: ¥3,900,000、Indirect Cost: ¥1,170,000)
Fiscal Year 2013: ¥1,560,000 (Direct Cost: ¥1,200,000、Indirect Cost: ¥360,000)
Fiscal Year 2012: ¥1,690,000 (Direct Cost: ¥1,300,000、Indirect Cost: ¥390,000)
Fiscal Year 2011: ¥1,820,000 (Direct Cost: ¥1,400,000、Indirect Cost: ¥420,000)
Keywords構文マクロシステム / メタプログラミング / JavaScript / LISP / Hygienicマクロシステム / 構文解析 / プログラム処理系 / ドメイン特化型言語 / シミュレーション言語
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.

Report

(4 results)
  • 2013 Annual Research Report   Final Research Report ( PDF )
  • 2012 Research-status Report
  • 2011 Research-status Report
  • Research Products

    (29 results)

All 2014 2013 2012 2011 Other

All Journal Article (1 results) (of which Peer Reviewed: 1 results) Presentation (20 results) Remarks (8 results)

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

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

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

      Volume: 6(2) Pages: 85-101

    • NAID

      110009602861

    • URL

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

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

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

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

    • Place of Presentation
      那覇
    • Year and Date
      2014-03-12
    • Related Report
      2013 Final Research Report
  • [Presentation] ビジュアルブロックを採用したドメイン特化言語とその開発ツールの実現手法2014

    • Author(s)
      栗原あずさ,佐々木晃,脇田建
    • Organizer
      電子情報通信学会ソフトウェアサイエンス研究会
    • Place of Presentation
      沖縄県那覇市
    • Related Report
      2013 Annual Research Report
  • [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
    • Related Report
      2013 Annual Research Report 2013 Final Research Report
  • [Presentation] 役割指向を用いた並行システムの記述と実装手法の提案2013

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

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

    • Place of Presentation
      盛岡
    • Year and Date
      2013-02-27
    • Related Report
      2013 Final Research Report
  • [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
    • Related Report
      2013 Final Research Report
  • [Presentation] JavaScriptのプログラム可視化を用いたデバッガ2013

    • Author(s)
      徐駿剣,脇田建
    • Organizer
      日本ソフトウェア科学会創設30周年記念大会
    • Place of Presentation
      東京
    • Related Report
      2013 Annual Research Report
  • [Presentation] Hygienic構文マクロシステムを用いたJavaScriptプログラミング2013

    • Author(s)
      脇田建,甫水佳奈子,佐々木 晃
    • Organizer
      第54回プログラミング・シンポジウム
    • Place of Presentation
      箱根、ラフォーレ強羅
    • Related Report
      2012 Research-status Report
  • [Presentation] 解析表現文法とSchemeマクロ展開器を用いたJavaScript向けHygienic構文マクロシステムの実装2013

    • Author(s)
      甫水 佳奈子,脇田 建,佐々木 晃
    • Organizer
      情報処理学会 2012年度 第4回(PRO92)プログラミング研究発表会
    • Place of Presentation
      奄美市、AiAiひろば
    • Related Report
      2012 Research-status Report
  • [Presentation] 役割指向を用いた並行システムの記述と 実装手法の提案2013

    • Author(s)
      柏木孝仁,佐々木晃,田沼英樹
    • Organizer
      第3回社会システム部会研究会
    • Place of Presentation
      岩手県民情報交流センター
    • Related Report
      2012 Research-status Report
  • [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
    • Related Report
      2013 Final Research Report
  • [Presentation] Scheme 言語をルール記述言語とした役割指向記述の試み2012

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

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

    • Place of Presentation
      名古屋
    • Year and Date
      2012-03-06
    • Related Report
      2013 Final Research Report
  • [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
      京都市、International Community House
    • Related Report
      2012 Research-status Report
  • [Presentation] 役割指向テンプレートジェネレータを利用したエージェントシステムの効果的な設計と実装2012

    • Author(s)
      佐々木晃,柏木孝仁,田沼英樹
    • Organizer
      合同エージェントワークショップ&シンポジウム2012(JAWS2012)
    • Place of Presentation
      静岡県掛川市、ヤマハリゾートつま恋
    • Related Report
      2012 Research-status Report
  • [Presentation] JavaScriptアプリケーションの対話的実行時開発環境2012

    • Author(s)
      吉永卓矢
    • Organizer
      第14回プログラミングおよびプログラミング言語ワークショップ
    • Place of Presentation
      和歌山県白浜
    • Related Report
      2011 Research-status Report
  • [Presentation] Webアプリケーション開発のための分散JavaScriptとそのアプリケーション2012

    • Author(s)
      加藤真人
    • Organizer
      第14回プログラミングおよびプログラミング言語ワークショップ
    • Place of Presentation
      和歌山県白浜
    • Related Report
      2011 Research-status Report
  • [Presentation] 構文マクロ定義を利用した動的拡張可能なエディタ2011

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

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

    • Place of Presentation
      宮津
    • Year and Date
      2011-12-12
    • Related Report
      2013 Final Research Report
  • [Presentation] 構文マクロ定義を利用した動的拡張可能なエディタ2011

    • Author(s)
      甫水佳奈子
    • Organizer
      日本ソフトウェア科学会第19回インタラクティブシステムとソフトウェアに関するワークショップ
    • Place of Presentation
      京都府宮津
    • Related Report
      2011 Research-status Report
  • [Presentation] Chrome Debugger APIを用いたLive Edit 開発環境の実装技法2011

    • Author(s)
      吉永卓矢
    • Organizer
      日本ソフトウェア科学会第19回インタラクティブシステムとソフトウェアに関するワークショップ
    • Place of Presentation
      京都府宮津
    • Related Report
      2011 Research-status Report
  • [Presentation] 携帯端末を利用したゲーミングシミュレーションの効果的な開発手法

    • Author(s)
      辰巳聡一
    • Organizer
      合同エージェントワークショップ&シンポジウム2011(JAWS2011)
    • Place of Presentation
      熱海
    • Related Report
      2011 Research-status Report
  • [Presentation] Scheme言語をルール記述言語とした役割指向記述の試み

    • Author(s)
      柏木孝仁
    • Organizer
      情報処理学会全国大会
    • Place of Presentation
      名古屋工業大学
    • Related Report
      2011 Research-status Report
  • [Remarks] 甫水佳奈子, js-macro : A hygienic macro system for JavaScript(ホームページ等)

    • URL

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

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

    • URL

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

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

    • URL

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

    • Related Report
      2013 Final Research Report
  • [Remarks] Examples of EX-JS Macros

    • URL

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

    • Related Report
      2013 Annual Research Report
  • [Remarks] homizu / js-macro・GitHub

    • URL

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

    • Related Report
      2013 Annual Research Report
  • [Remarks] Examples of EX-JS Macros

    • URL

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

    • Related Report
      2012 Research-status Report
  • [Remarks] homizu / js-macro・GitHub

    • URL

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

    • Related Report
      2012 Research-status Report
  • [Remarks] 高級マクロシステム

    • URL

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

    • Related Report
      2012 Research-status Report

URL: 

Published: 2011-08-05   Modified: 2019-07-29  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi