中文
相关论文

相关论文: Offline Specialisation in Prolog Using a Hand-Writ…

200 篇论文

Refactoring is an established technique from the object-oriented (OO) programming community to restructure code: it aims at improving software readability, maintainability and extensibility. Although refactoring is not tied to the…

软件工程 · 计算机科学 2007-05-23 Alexander Serebrenik , Tom Schrijvers , Bart Demoen

The programming language Prolog makes declarative programming possible, at least to a substantial extent. Programs may be written and reasoned about in terms of their declarative semantics. All the advantages of declarative programming are…

计算机科学中的逻辑 · 计算机科学 2023-08-31 Włodzimierz Drabent

In recent years, stream processing has become a prominent approach for incrementally handling large amounts of data, with special support and libraries in many programming languages. Unfortunately, support in Prolog has so far been lacking…

编程语言 · 计算机科学 2019-09-20 Paul Tarau , Jan Wielemaker , Tom Schrijvers

Higher-order logic programming is an interesting extension of traditional logic programming that allows predicates to appear as arguments and variables to be used where predicates typically occur. Higher-order characteristics are indeed…

编程语言 · 计算机科学 2018-12-04 Antonis Troumpoukis , Angelos Charalambidis

Traditionally, parsing has been a laborious and error-prone component of compiler development, and most parsers for full industrial programming languages are still written by hand. The author [Zim22] shows that automatic parser generation…

编程语言 · 计算机科学 2022-09-20 Joe Zimmerman

Refactoring is an established technique from the OO-community to restructure code: it aims at improving software readability, maintainability and extensibility. Although refactoring is not tied to the OO-paradigm in particular, its ideas…

软件工程 · 计算机科学 2007-05-23 Tom Schrijvers , Alexander Serebrenik

GNU Prolog is a general-purpose implementation of the Prolog language, which distinguishes itself from most other systems by being, above all else, a native-code compiler which produces standalone executables which don't rely on any…

编程语言 · 计算机科学 2010-12-16 Daniel Diaz , Salvador Abreu , Philippe Codognet

We study the notion of binding-time analysis for logic programs. We formalise the unfolding aspect of an on-line partial deduction system as a Prolog program. Using abstract interpretation, we collect information about the run-time…

编程语言 · 计算机科学 2007-05-23 Maurice Bruynooghe , Michael Leuschel , Konstantinos Sagonas

We present SLinGen, a program generation system for linear algebra. The input to SLinGen is an application expressed mathematically in a linear-algebra-inspired language (LA) that we define. LA provides basic scalar/vector/matrix…

编程语言 · 计算机科学 2018-05-15 Daniele G. Spampinato , Diego Fabregat-Traver , Paolo Bientinesi , Markus Pueschel

Logging practices have been extensively investigated to assist developers in writing appropriate logging statements for documenting software behaviors. Although numerous automatic logging approaches have been proposed, their performance…

软件工程 · 计算机科学 2024-02-21 Yichen Li , Yintong Huo , Renyi Zhong , Zhihan Jiang , Jinyang Liu , Junjie Huang , Jiazhen Gu , Pinjia He , Michael R. Lyu

We study conjunctive partial deduction, an advanced specialization technique aimed at improving the performance of logic programs, in the context of relational programming language miniKanren. We identify a number of issues, caused by…

编程语言 · 计算机科学 2021-09-08 Ekaterina Verbitskaia , Daniil Berezun , Dmitry Boulytchev

A range of methodologies and techniques are available to guide the design and implementation of language extensions and domain-specific languages. A simple yet powerful technique is based on source-to-source transformations interleaved…

编程语言 · 计算机科学 2013-02-01 Zoé Drey , José F. Morales , Manuel V. Hermenegildo

This document introduces PlDoc, a literate programming system for Prolog. Starting point for PlDoc was minimal distraction from the programming task and maximal immediate reward, attempting to seduce the programmer to use the system.…

编程语言 · 计算机科学 2007-11-06 Jan Wielemaker , Anjo Anjewierden

Parsing is a fundamental building block in modern compilers, and for industrial programming languages, it is a surprisingly involved task. There are known approaches to generate parsers automatically, but the prevailing consensus is that…

形式语言与自动机理论 · 计算机科学 2022-09-20 Joe Zimmerman

The problem of "debloating" programs for security and performance purposes has begun to see increased attention. Of particular interest in many environments is debloating commodity off-the-shelf (COTS) software, which is most commonly made…

编程语言 · 计算机科学 2020-05-18 Michael Vaughn , Thomas Reps

Large language models (LLMs) have demonstrated impressive performance across various language tasks. However, existing LLM reasoning strategies mainly rely on the LLM itself with fast or slow mode (like o1 thinking) and thus struggle to…

人工智能 · 计算机科学 2026-01-21 Jinwu Hu , Dongjin Yang , Langyu Bian , Zhiquan Wen , Yufeng Wang , Yaofo Chen , Bin Xiao , Yuanqing Li , Mingkui Tan

While developers increasingly adopt tools powered by large language models (LLMs) in day-to-day workflows, these tools still require explicit user invocation. To seamlessly integrate LLM capabilities to a developer's workflow, we introduce…

人机交互 · 计算机科学 2025-03-20 Sebastian Zhao , Alan Zhu , Hussein Mozannar , David Sontag , Ameet Talwalkar , Valerie Chen

A quantum annealer exploits quantum effects to solve a particular type of optimization problem. The advantage of this specialized hardware is that it effectively considers all possible solutions in parallel, thereby potentially…

编程语言 · 计算机科学 2018-04-03 Scott Pakin

Prolog is a well known declarative programming language based on propositional Horn formulas. It is useful in various areas, including artificial intelligence, automated theorem proving, mathematical logic and so on. An active research area…

计算机科学中的逻辑 · 计算机科学 2021-03-02 Anish Mallick , Anil Shukla

Large Language Models (LLMs) equipped with external tools have demonstrated enhanced performance on complex reasoning tasks. The widespread adoption of this tool-augmented reasoning is hindered by the scarcity of domain-specific tools. For…