JSW 2006 Vol.1(3): 1-13 ISSN: 1796-217X
doi: 10.4304/jsw.1.3.1-13
doi: 10.4304/jsw.1.3.1-13
Incremental Implementation of Syntax Driven Logics
I.S.W.B. Prasetya1, A. Azurat2, T.E.J. Vos3, A. van Leeuwen1
1Inst. of Inf. and Comp. Sciences, Utrecht Univ.
2Fakultas Ilmu Komp., Univ. Indonesia
3Inst. Tecnol´ogico de Inf., Univ. Polit´ecnica de Valencia
Abstract—This paper describes a technique combining higher order functions, algebraic datatypes, and monads to incrementally implement syntax driven logics. Extensions can be compositionally stacked while the base logic is left unchanged. The technique can furthermore be used to build a set of weaker logics for light weight verification or to generate validation traces. The paper explains the technique through an example: a Hoare logic for a simple command language. The example also shows how exceptions can be treated as an extension, without having to change the underlying logic.
Index Terms—syntax driven logic, algebraic data type, modular logic, verification tool
2Fakultas Ilmu Komp., Univ. Indonesia
3Inst. Tecnol´ogico de Inf., Univ. Polit´ecnica de Valencia
Abstract—This paper describes a technique combining higher order functions, algebraic datatypes, and monads to incrementally implement syntax driven logics. Extensions can be compositionally stacked while the base logic is left unchanged. The technique can furthermore be used to build a set of weaker logics for light weight verification or to generate validation traces. The paper explains the technique through an example: a Hoare logic for a simple command language. The example also shows how exceptions can be treated as an extension, without having to change the underlying logic.
Index Terms—syntax driven logic, algebraic data type, modular logic, verification tool
Cite: I.S.W.B. Prasetya, A. Azurat, T.E.J. Vos, A. van Leeuwen, " Incremental Implementation of Syntax Driven Logics," Journal of Software vol. 1, no. 3, pp. 1-13, 2006.
PREVIOUS PAPER
First page
General Information
ISSN: 1796-217X (Online)
Frequency: Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKI, Google Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsw@iap.org
-
Apr 26, 2021 News!
Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec) [Click]
-
Nov 18, 2021 News!
Papers published in JSW Vol 16, No 1- Vol 16, No 6 have been indexed by DBLP [Click]
-
Dec 24, 2021 News!
Vol 15, No 1- Vol 15, No 6 has been indexed by IET-(Inspec) [Click]
-
Nov 18, 2021 News!
[CFP] 2022 the annual meeting of JSW Editorial Board, ICCSM 2022, will be held in Rome, Italy, July 21-23, 2022 [Click]
-
May 04, 2023 News!
Vol 18, No 2 has been published with online version [Click]