DReX

Author:

Alur Rajeev1,D'Antoni Loris1,Raghothaman Mukund1

Affiliation:

1. University of Pennsylvania, Philadelphia, PA, USA

Abstract

We present DReX, a declarative language that can express all regular string-to string transformations, and can still be efficiently evaluated. The class of regular string transformations has a robust theoretical foundation including multiple characterizations, closure properties, and decidable analysis questions, and admits a number of string operations such as insertion, deletion, substring swap, and reversal. Recent research has led to a characterization of regular string transformations using a primitive set of function combinators analogous to the definition of regular languages using regular expressions. While these combinators form the basis for the language DReX proposed in this paper, our main technical focus is on the complexity of evaluating the output of a DReX program on a given input string. It turns out that the natural evaluation algorithm involves dynamic programming, leading to complexity that is cubic in the length of the input string. Our main contribution is identifying a consistency restriction on the use of combinators in DReX programs, and a single-pass evaluation algorithm for consistent programs with time complexity that is linear in the length of the input string and polynomial in the size of the program. We show that the consistency restriction does not limit the expressiveness, and whether a DReX program is consistent can be checked efficiently. We report on a prototype implementation, and evaluate it using a representative set of text processing tasks.

Funder

Division of Computing and Communication Foundations

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference26 articles.

1. Streaming transducers for algorithmic verification of single-pass list-processing programs

2. R. Alur and L. D'Antoni . Streaming tree transducers . In A. Czumaj K. Mehlhorn A. Pitts and R. Wattenhofer editors Automata Languages and Programming volume 7392 of Lecture Notes in Computer Science pages 42 -- 53 . Springer 2012 . 10.1007/978-3-642-31585-5_8 R. Alur and L. D'Antoni. Streaming tree transducers. In A. Czumaj K. Mehlhorn A. Pitts and R. Wattenhofer editors Automata Languages and Programming volume 7392 of Lecture Notes in Computer Science pages 42--53. Springer 2012. 10.1007/978-3-642-31585-5_8

3. Regular combinators for string transformations

4. LNI;Becker O.,2003

5. Boomerang

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Efficient Construction of Reversible Transducers from Regular Transducer Expressions;Proceedings of the 37th Annual ACM/IEEE Symposium on Logic in Computer Science;2022-08-02

2. Modular Descriptions of Regular Functions;Algebraic Informatics;2019

3. The Power of Symbolic Automata and Transducers;Computer Aided Verification;2017

4. Forward Bisimulations for Nondeterministic Symbolic Finite Automata;Tools and Algorithms for the Construction and Analysis of Systems;2017

5. Regular Programming for Quantitative Properties of Data Streams;Programming Languages and Systems;2016

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3