中文
相关论文

相关论文: A Type and Scope Safe Universe of Syntaxes with Bi…

200 篇论文

This paper explores the extent to which regular expressions (regexes) are portable across programming languages. Many languages offer similar regex syntaxes, and it would be natural to assume that regexes can be ported across language…

软件工程 · 计算机科学 2021-05-11 James C. Davis , Louis G. Michael , Christy A. Coghlan , Francisco Servant , Dongyoon Lee

In previous work ("From signatures to monads in UniMath"), we described a category-theoretic construction of abstract syntax from a signature, mechanized in the UniMath library based on the Coq proof assistant. In the present work, we…

编程语言 · 计算机科学 2021-12-15 Benedikt Ahrens , Ralph Matthes , Anders Mörtberg

We present the first definition of strictly associative and unital $\infty$-category. Our proposal takes the form of a type theory whose terms describe the operations of such structures, and whose definitional equality relation enforces…

范畴论 · 数学 2024-07-08 Eric Finster , Alex Rice , Jamie Vicary

Since the discovery of Spectre, a large number of hardware mechanisms for secure speculation has been proposed. Intuitively, more defensive mechanisms are less efficient but can securely execute a larger class of programs, while more…

密码学与安全 · 计算机科学 2020-10-02 Marco Guarnieri , Boris Köpf , Jan Reineke , Pepe Vila

AI agents that interact with the real world through tool calls pose fundamental safety challenges: agents might leak private information, cause unintended side effects, or be manipulated through prompt injection. To address these…

人工智能 · 计算机科学 2026-05-29 Martin Odersky , Yaoyu Zhao , Yichen Xu , Oliver Bračevac , Cao Nguyen Pham

Many semantical aspects of programming languages, such as their operational semantics and their type assignment calculi, are specified by describing appropriate proof systems. Recent research has identified two proof-theoretic features that…

计算机科学中的逻辑 · 计算机科学 2008-04-14 Andrew Gacek , Dale Miller , Gopalan Nadathur

Nowadays, developers often reuse existing APIs to implement their programming tasks. A lot of API usage patterns are mined to help developers learn API usage rules. However, there are still many missing variables to be synthesized when…

软件工程 · 计算机科学 2021-03-23 Qi Shen , Shijun Wu , Yanzhen Zou , Bing Xie

It is widely acknowledged that function symbols are an important feature in answer set programming, as they make modeling easier, increase the expressive power, and allow us to deal with infinite domains. The main issue with their…

人工智能 · 计算机科学 2020-02-19 Marco Calautti , Sergio Greco , Cristian Molinaro , Irina Trubitsyna

We investigate the possibility of modelling the syntax and semantics of natural language by constraints, or rules, imposed by the multi-dimensional type theory Nabla. The only multiplicity we explicitly consider is two, namely one dimension…

计算与语言 · 计算机科学 2007-05-23 Jørgen Villadsen

Probabilistic programming languages aim to describe and automate Bayesian modeling and inference. Modern languages support programmable inference, which allows users to customize inference algorithms by incorporating guide programs to…

编程语言 · 计算机科学 2021-04-09 Di Wang , Jan Hoffmann , Thomas Reps

Dependency syntax represents the structure of a sentence as a tree composed of dependencies, i.e., directed relations between lexical units. While in its more general form any such tree is allowed, in practice many are not plausible or are…

计算与语言 · 计算机科学 2026-04-07 Gómez-Rodríguez , Carlos , Alemany-Puig , Lluís

Fast numerical libraries have been a cornerstone of scientific computing for decades, but this comes at a price. Programs may be tied to vendor specific software ecosystems resulting in polluted, non-portable code. As we enter an era of…

编程语言 · 计算机科学 2019-10-10 Bruce Collie , Philip Ginsbach , Michael F. P. O'Boyle

Strategy languages enable programmers to compose rewrite rules into strategies and control their application. This is useful in programming languages, e.g., for describing program transformations compositionally, but also in automated…

编程语言 · 计算机科学 2023-04-28 Rongxiao Fu , Ornela Dardha , Michel Steuwer

In this paper, we show a new approach to transformations of an imperative program with function calls and global variables into a logically constrained term rewriting system. The resulting system represents transitions of the whole…

计算机科学中的逻辑 · 计算机科学 2019-02-25 Yoshiaki Kanazawa , Naoki Nishida

Syntax-guided synthesis (SyGuS) is a recently proposed framework for program synthesis problems. The SyGuS problem is to find an expression or program generated by a given grammar that meets a correctness specification. Correctness…

计算机科学中的逻辑 · 计算机科学 2016-11-02 Benjamin Caulfield , Markus N. Rabe , Sanjit A. Seshia , Stavros Tripakis

The P4 programming language offers high-level, declarative abstractions that bring the flexibility of software to the domain of networking. Unfortunately, the main abstraction used to represent packet data in P4, namely header types, lacks…

编程语言 · 计算机科学 2019-06-25 Matthias Eichholz , Eric Campbell , Nate Foster , Guido Salvaneschi , Mira Mezini

We present a new type system with support for proofs of programs in a call-by-value language with control operators. The proof mechanism relies on observational equivalence of (untyped) programs. It appears in two type constructors, which…

计算机科学中的逻辑 · 计算机科学 2016-04-08 Rodolphe Lepigre

Syntactic theory has traditionally adopted a constructivist approach, in which a set of atomic elements are manipulated by combinatory operations to yield derived, complex elements. Syntactic structure is thus seen as the result or discrete…

计算与语言 · 计算机科学 2019-01-01 Diego Gabriel Krivochen

The model of asynchronous programming arises in many contexts, from low-level systems software to high-level web programming. We take a language-theoretic perspective and show general decidability and undecidability results for asynchronous…

形式语言与自动机理论 · 计算机科学 2023-06-22 Rupak Majumdar , Ramanathan S. Thinniyam , Georg Zetzsche

While numerous attempts have been made to jointly parse syntax and semantics, high performance in one domain typically comes at the price of performance in the other. This trade-off contradicts the large body of research focusing on the…

计算与语言 · 计算机科学 2021-04-13 Elias Stengel-Eskin , Kenton Murray , Sheng Zhang , Aaron Steven White , Benjamin Van Durme