ACM Home Page
Please provide us with feedback. Feedback
Experimenting with formal languages using forlan
Full text PdfPdf (248 KB)
Source
International Conference on Functional Programming archive
Proceedings of the 2008 international workshop on Functional and declarative programming in education table of contents
Victoria, BC, Canada
SESSION: Session 2 table of contents
Pages 41-50  
Year of Publication: 2008
ISBN:978-1-60558-068-5
Author
Alley Stoughton  Kansas State University, Manhattan, KS, USA
Sponsors
ACM: Association for Computing Machinery
SIGPLAN: ACM Special Interest Group on Programming Languages
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 4,   Downloads (12 Months): 35,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1411260.1411267
What is a DOI?

ABSTRACT

We give an introduction to the Forlan formal language theory toolset, which was designed to facilitate sophisticated experimentation with formal languages. Forlan is embedded in the functional programming language Standard ML, a language whose notation and concepts are similar to those of mathematics. It is strongly typed and interactive, properties that help make experimentation robust, simple and enjoyable. We give an extended example of the kind of experimentation that Forlan makes possible. It involves the use of closure properties/algorithms for regular languages/finite automata and a "difference" function on strings of zeros and ones.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
A. W. Appel and D. B. MacQueen. Standard ML of New Jersey. In Programming Language Implementation and Logic Programming, volume 528 of Lecture Notes in Computer Science, pages 1--26. Springer-Verlag, 1991.
 
2
3
4
 
5
H. Leiß. The Automata Library. http://www.cis.uni-muenchen.de/leiss/sml-automata.html, 2000.
 
6
 
7
 
8
9
 
10
 
11
J. Saraiva. HaLeX: A Haskell library to model, manipulate and animate regular languages. In ACM Workshop on Functional and Declarative Programming in Education (FDPE/PLI'02), Pittsburgh, October 2002.
 
12
A. Stoughton. Experimenting with formal languages. In Thirty-sixth ACM SIGCSE Technical Symposium on Computer Science Education, page 566. ACM Press, 2005.
 
13
A. Stoughton. Formal Language Theory: Integrating Experimentation and Proof. http://people.cis.ksu.edu/~stough/forlan/, 2008.
 
14
K. Sutner. Implementing finite state machines. In N. Dean and G. E. Shannon, editors, Computational Support for Discrete Mathematics, DIMACS Series in Discrete Mathematics and Theoretical Computer Science, volume 15, pages 347--363. American Mathematical Society, 1992.
 
15
S. Yu. Grail+: A symbolic computation environment for finite-state machines, regular expressions, and finite languages. http://www.csd.uwo.ca/Research/grail/, 2002.