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

Implementing a Reliable and Expressive Programming Language

Research Project

Project/Area Number 19K24339
Research Category

Grant-in-Aid for Research Activity Start-up

Allocation TypeMulti-year Fund
Review Section 1001:Information science, computer engineering, and related fields
Research InstitutionTokyo Institute of Technology

Principal Investigator

Cong Youyou  東京工業大学, 情報理工学院, 助教 (30847629)

Project Period (FY) 2019-08-30 – 2024-03-31
Project Status Completed (Fiscal Year 2023)
Budget Amount *help
¥1,950,000 (Direct Cost: ¥1,500,000、Indirect Cost: ¥450,000)
Fiscal Year 2020: ¥1,170,000 (Direct Cost: ¥900,000、Indirect Cost: ¥270,000)
Fiscal Year 2019: ¥780,000 (Direct Cost: ¥600,000、Indirect Cost: ¥180,000)
Keywords依存型 / 代数的効果 / 制御演算子 / 限定継続命令 / プログラム変換 / 型理論 / 副作用 / 継続
Outline of Research at the Start

依存型と代数的効果は、それぞれプログラムの仕様の記述と、複雑な動作の実装に役立つツールである。これらを共存させると、信頼性と表現力を両立できると考えられるが、プログラムが仕様通りに振る舞うことの保証や、言語の実装に多大な労力がかかってしまう。
本研究では、代数的効果をもつ依存型付き言語をなるべく低いコストで実装する。アイディアとしては、制御演算子(実行の流れを操作するための演算子)に関する研究成果と、関数型言語 Racket のインフラを利用することで、証明や実装の手順を単純化する。これによって、意図通りに動作するソフトウェアの実装がより現実的になることが期待される。

Outline of Final Research Achievements

I developed type systems and program transformations for calculi that have constructs for manipulating continuations. Examples include a type system that can describe the detailed behavior of control operators, a simple type system that ensures safe use of named effect handlers, and program translations that convert between control operators and effect handlers. I also implemented a dependently typed language with effect handlers based on the type systems and program translations I developed and using the Turnstile package of the Racket language.

Academic Significance and Societal Importance of the Research Achievements

型システムと継続機構はそれぞれプログラムの信頼性とプログラミング言語の表現力の向上に有用である。実際、研究期間中にさまざまなプログラミング言語のコミュニティで強力な型システムやプリミティブの継続機構を導入する動きが見られた。本研究ではこれらの基礎理論を構築したが、その中で得られた成果は安全なソフトウェアの簡潔な実装につながると考えられる。

Report

(6 results)
  • 2023 Annual Research Report   Final Research Report ( PDF )
  • 2022 Research-status Report
  • 2021 Research-status Report
  • 2020 Research-status Report
  • 2019 Research-status Report
  • Research Products

    (20 results)

All 2024 2023 2022 2021 2020 Other

All Int'l Joint Research (5 results) Journal Article (6 results) (of which Int'l Joint Research: 3 results,  Peer Reviewed: 6 results,  Open Access: 6 results) Presentation (9 results) (of which Int'l Joint Research: 9 results,  Invited: 1 results)

  • [Int'l Joint Research] Microsoft Research Lab - Redmond(米国)

    • Related Report
      2022 Research-status Report
  • [Int'l Joint Research] Microsoft Research Lab - Redmond(米国)

    • Related Report
      2021 Research-status Report
  • [Int'l Joint Research] University of Tuebingen(ドイツ)

    • Related Report
      2021 Research-status Report
  • [Int'l Joint Research] Microsoft Research Lab - Redmond(米国)

    • Related Report
      2020 Research-status Report
  • [Int'l Joint Research] Microsoft Research Lab - Redmond(米国)

    • Related Report
      2019 Research-status Report
  • [Journal Article] An Intrinsically Typed Compiler for Algebraic Effect Handlers2024

    • Author(s)
      Tsuyama Syouki、Cong Youyou、Masuhara Hidehiko
    • Journal Title

      Proceedings of the 2024 ACM SIGPLAN International Workshop on Partial Evaluation and Program Manipulation

      Volume: N/A Pages: 134-145

    • DOI

      10.1145/3635800.3636968

    • Related Report
      2023 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] Typed Equivalence of Labeled Effect Handlers and Labeled Delimited Control Operators2023

    • Author(s)
      Ikemori Kazuki、Cong Youyou、Masuhara Hidehiko
    • Journal Title

      Proceedings of the 25th International Symposium on Principles and Practice of Declarative Programming

      Volume: N/A Pages: 1-13

    • DOI

      10.1145/3610612.3610616

    • Related Report
      2023 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] Towards a Reflection for Effect Handlers2023

    • Author(s)
      Cong Youyou、Asai Kenichi
    • Journal Title

      Proceedings of the 2023 ACM SIGPLAN International Workshop on Partial Evaluation and Program Manipulation

      Volume: N/A Pages: 55-65

    • DOI

      10.1145/3571786.3573015

    • Related Report
      2022 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] First-class names for effect handlers2022

    • Author(s)
      Xie Ningning、Cong Youyou、Ikemori Kazuki、Leijen Daan
    • Journal Title

      Proceedings of the ACM on Programming Languages

      Volume: 6 Issue: OOPSLA2 Pages: 30-59

    • DOI

      10.1145/3563289

    • Related Report
      2022 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] A Functional Abstraction of Typed Invocation Contexts2022

    • Author(s)
      Cong Youyou、Ishio Chiaki、Honda Kaho、Asai Kenichi
    • Journal Title

      Logical Methods in Computer Science

      Volume: Volume 18, Issue 3 Pages: 1-31

    • DOI

      10.46298/lmcs-18(3:34)2022

    • Related Report
      2022 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Journal Article] A Functional Abstraction of Typed Invocation Contexts2021

    • Author(s)
      Youyou Cong, Chiaki Ishio, Kaho Honda, Kenichi Asai
    • Journal Title

      Proceedings of 6th International Conference on Formal Structures for Computation and Deduction (FSCD 2021)

      Volume: LIPICS Vol. 195

    • Related Report
      2021 Research-status Report
    • Peer Reviewed / Open Access
  • [Presentation] One-Pass CPS Translation of Dependent Types2024

    • Author(s)
      Youyou Cong
    • Organizer
      The 2024 ACM SIGPLAN International Workshop on Partial Evaluation and Program Manipulation
    • Related Report
      2023 Annual Research Report
    • Int'l Joint Research
  • [Presentation] Continuations from Three Angles2024

    • Author(s)
      Youyou Cong
    • Organizer
      The 17th International Symposium on Functional and Logic Programming
    • Related Report
      2023 Annual Research Report
    • Int'l Joint Research / Invited
  • [Presentation] Towards Dependently-Typed Control Effects2022

    • Author(s)
      Youyou Cong
    • Organizer
      TyDe 2022
    • Related Report
      2022 Research-status Report
    • Int'l Joint Research
  • [Presentation] Understanding Algebraic Effect Handlers via Delimited Control Operators2022

    • Author(s)
      Youyou Cong
    • Organizer
      TFP 2022
    • Related Report
      2021 Research-status Report
    • Int'l Joint Research
  • [Presentation] A Functional Abstraction of Typed Invocation Contexts2021

    • Author(s)
      Youyou Cong
    • Organizer
      FSCD 2021
    • Related Report
      2021 Research-status Report
    • Int'l Joint Research
  • [Presentation] First-class Named for Effect Handlers2021

    • Author(s)
      Ningning Xie, Youyou Cong, Daan Leijen
    • Organizer
      HOPE 2021
    • Related Report
      2021 Research-status Report
    • Int'l Joint Research
  • [Presentation] A Functional Abstraction of Typed Trails2021

    • Author(s)
      Youyou Cong
    • Organizer
      The ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation (PEPM 2021)
    • Related Report
      2020 Research-status Report
    • Int'l Joint Research
  • [Presentation] A Functional Abstraction of Typed Invocation Contexts2021

    • Author(s)
      Youyou Cong
    • Organizer
      6th Formal Structures for Computation and Deduction (FSCD 2021)
    • Related Report
      2020 Research-status Report
    • Int'l Joint Research
  • [Presentation] On Teaching Type Systems as Macros2020

    • Author(s)
      Youyou Cong
    • Organizer
      The Scheme and Functional Programming Workshop
    • Related Report
      2020 Research-status Report
    • Int'l Joint Research

URL: 

Published: 2019-09-03   Modified: 2025-01-30  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi