中文
相关论文

相关论文: A Very Short Self-Interpreter

200 篇论文

Reduction-based interpreters are traditionally defined in terms of a one-step reduction function which systematically decomposes a term into a potential redex and context, contracts the redex, and recomposes it to construct the new term to…

编程语言 · 计算机科学 2025-08-18 Casper Bach

A computational limit of combining partial evaluation and program inversion is investigated. Using a reversible Turing machine interpreter, we show that the first Futamura and inversion projections can produce not only functionally but also…

编程语言 · 计算机科学 2024-12-05 Robert Glück , Louis Marott Normann

Slang is a predominant form of informal language making flexible and extended use of words that is notoriously hard for natural language processing systems to interpret. Existing approaches to slang interpretation tend to rely on context…

计算与语言 · 计算机科学 2022-05-03 Zhewei Sun , Richard Zemel , Yang Xu

Transformers are widely used in natural language processing, where they consistently achieve state-of-the-art performance. This is mainly due to their attention-based architecture, which allows them to model rich linguistic relations…

计算与语言 · 计算机科学 2022-11-29 Nikolaos Mylonas , Ioannis Mollas , Grigorios Tsoumakas

The traditional abstract domain framework for imperative programs suffers from several shortcomings; in particular it does not allow precise symbolic abstractions. To solve these problems, we propose a new abstract interpretation framework,…

软件工程 · 计算机科学 2018-01-01 Matthieu Lemerre , Sébastien Bardin

Layout-sensitive grammars have been adopted in many modern programming languages. However, tool support for this kind of grammars still remains limited and immature. In this paper, we present Lay-it-out, an interactive framework for…

编程语言 · 计算机科学 2022-03-31 Fengmin Zhu , Jiangyi Liu , Fei He

We introduce a new application for inductive logic programming: learning the semantics of programming languages from example evaluations. In this short paper, we explored a simplified task in this domain using the Metagol meta-interpretive…

编程语言 · 计算机科学 2019-07-23 Sándor Bartha , James Cheney

We explore an approach to verification of programs via program transformation applied to an interpreter of a programming language. A specialization technique known as Turchin's supercompilation is used to specialize some interpreters with…

编程语言 · 计算机科学 2017-05-22 Alexei P. Lisitsa , Andrei P. Nemytykh

We explore an approach to verification of programs via program transformation applied to an interpreter of a programming language. A specialization technique known as Turchin's supercompilation is used to specialize some interpreters with…

编程语言 · 计算机科学 2017-08-31 Alexei P. Lisitsa , Andrei P. Nemytykh

Language Identification is the task of identifying a document's language. For applications like automatic spell checker selection, language identification must use very short strings such as text message fragments. In this work, we…

计算与语言 · 计算机科学 2021-02-15 Mads Toftrup , Søren Asger Sørensen , Manuel R. Ciosici , Ira Assent

This article presents a formalisation of a simple imperative programming language. The objective is to study and develop "hands-on" a formal specifcation of a programming language, namely its syntax, operational semantics and type system.…

编程语言 · 计算机科学 2016-04-13 Cláudio Vasconcelos , António Ravara

Recent work has shown that the computations of Transformers can be simulated in the RASP family of programming languages. These findings have enabled improved understanding of the expressive capacity and generalization abilities of…

机器学习 · 计算机科学 2026-02-10 Xinting Huang , Aleksandra Bakalova , Satwik Bhattamishra , William Merrill , Michael Hahn

This study explores an LLM's ability to learn new languages using explanations found in a grammar book, a process we term "explicit learning." To rigorously assess this ability, we design controlled translation experiments between English…

计算与语言 · 计算机科学 2025-09-05 Malik Marmonier , Rachel Bawden , Benoît Sagot

We study succinctness as a measure of the expressive power of transformers. Succinctness -- how compactly a formalism can describe a language relative to other formalisms -- is a classical notion in logic and automata theory. We prove that…

形式语言与自动机理论 · 计算机科学 2026-05-18 Pascal Bergsträßer , Ryan Cotterell , Anthony W. Lin

Interpretability benefits the theoretical understanding of representations. Existing word embeddings are generally dense representations. Hence, the meaning of latent dimensions is difficult to interpret. This makes word embeddings like a…

计算与语言 · 计算机科学 2023-06-27 Minxue Xia , Hao Zhu

Text simplification reduces the language complexity of professional content for accessibility purposes. End-to-end neural network models have been widely adopted to directly generate the simplified version of input text, usually functioning…

计算与语言 · 计算机科学 2021-07-08 Cristina Garbacea , Mengtian Guo , Samuel Carton , Qiaozhu Mei

Providing explanations along with predictions is crucial in some text processing tasks. Therefore, we propose a new self-interpretable model that performs output prediction and simultaneously provides an explanation in terms of the presence…

机器学习 · 计算机科学 2019-09-30 Diane Bouchacourt , Ludovic Denoyer

Finite automata (FA) are a fundamental computational abstraction that is widely used in practice for various tasks in computer science, linguistics, biology, electrical engineering, and artificial intelligence. Given an input word, an FA…

人工智能 · 计算机科学 2026-04-22 Jaime Cuartas Granada , Alexey Ignatiev , Peter J. Stuckey

In this tutorial, we program big-step and small-step total interpreters for the While language extended with input and output primitives. While is a simple imperative language consisting of skip, assignment, sequence, conditional and loop.…

编程语言 · 计算机科学 2011-09-06 Keiko Nakata

In this introductory article we present the basics of an approach to implementing computational interpreting of natural language aiming to model the meanings of words and phrases. Unlike other approaches, we attempt to define the meanings…

计算与语言 · 计算机科学 2019-08-12 Michael Kapustin , Pavlo Kapustin