WebSite Logo
  • Content
  • Similar Resources
  • Metadata
  • Cite This
  • Log-in
  • Fullscreen
Log-in
Do not have an account? Register Now
Forgot your password? Account recovery
  1. Transactions on Programming Languages and Systems (TOPLAS)
  2. ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 9
  3. Issue 2, April 1987
  4. Parsing and compiling using Prolog
Loading...

Please wait, while we are loading the content...

ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 38
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 37
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 36
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 35
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 34
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 33
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 32
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 31
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 30
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 29
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 28
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 27
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 26
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 25
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 24
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 23
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 22
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 21
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 20
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 19
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 18
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 17
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 16
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 15
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 14
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 13
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 12
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 11
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 10
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 9
Issue 4, Oct 1987
Issue 3, July 1987
Issue 2, April 1987
Parsing and compiling using Prolog
A practical method for LR and LL syntactic error diagnosis and recovery
Language support for the specification and development of composite systems
DIB—a distributed implementation of backtracking
Retargetable microcode synthesis
An editor for revision control
Issue 1, Jan 1987
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 8
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 7
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 6
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 5
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 4
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 3
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 2
ACM Transactions on Programming Languages and Systems (TOPLAS) : Volume 1

Similar Documents

...
Parsing and Compiling Using Prolog (1987)

Article

...
On Parsing and Compiling Arithmetic Expressions on Vector Computers

Article

...
Compiling Prolog into microcode: a case study using the NCR/32-000

Article

...
B74-17 The Theory of Parsing, Translation, and Compiling— Volume II: Compiling

Article

...
Learning programming in Prolog using schemata

Article

...
Compiling inheritance using partial evaluation

Article

...
Compiling separable recursions

Article

...
Type analysis of Prolog using type graphs

Article

...
Optimal incremental parsing

Article

Parsing and compiling using Prolog

Content Provider ACM Digital Library
Author Cohen, Jacques Hickey, Timothy J.
Copyright Year 1987
Abstract This paper presents the material needed for exposing the reader to the advantages of using Prolog as a language for describing succinctly most of the algorithms needed in prototyping and implementing compilers or producing tools that facilitate this task. The available published material on the subject describes one particular approach in implementing compilers using Prolog. It consists of coupling actions to recursive descent parsers to produce syntax-trees which are subsequently utilized in guiding the generation of assembly language code. Although this remains a worthwhile approach, there is a host of possibilities for Prolog usage in compiler construction. The primary aim of this paper is to demonstrate the use of Prolog in parsing and compiling. A second, but equally important, goal of this paper is to show that Prolog is a labor-saving tool in prototyping and implementing many non-numerical algorithms which arise in compiling, and whose description using Prolog is not available in the literature. The paper discusses the use of unification and nondeterminism in compiler writing as well as means to bypass these (costly) features when they are deemed unnecessary. Topics covered include bottom-up and top-down parsers, syntax-directed translation, grammar properties, parser generation, code generation, and optimizations. Newly proposed features that are useful in compiler construction are also discussed. A knowledge of Prolog is assumed.
Starting Page 125
Ending Page 163
Page Count 39
File Format PDF
ISSN 01640925
e-ISSN 15584593
DOI 10.1145/22719.22946
Volume Number 9
Issue Number 2
Journal ACM Transactions on Programming Languages and Systems (TOPLAS)
Language English
Publisher Association for Computing Machinery (ACM)
Publisher Date 1987-03-20
Publisher Place New York
Access Restriction One Nation One Subscription (ONOS)
Content Type Text
Resource Type Article
Subject Software
  • About
  • Disclaimer
  • Feedback
  • Sponsor
  • Contact
  • Chat with Us
About National Digital Library of India (NDLI)
NDLI logo

National Digital Library of India (NDLI) is a virtual repository of learning resources which is not just a repository with search/browse facilities but provides a host of services for the learner community. It is sponsored and mentored by Ministry of Education, Government of India, through its National Mission on Education through Information and Communication Technology (NMEICT). Filtered and federated searching is employed to facilitate focused searching so that learners can find the right resource with least effort and in minimum time. NDLI provides user group-specific services such as Examination Preparatory for School and College students and job aspirants. Services for Researchers and general learners are also provided. NDLI is designed to hold content of any language and provides interface support for 10 most widely used Indian languages. It is built to provide support for all academic levels including researchers and life-long learners, all disciplines, all popular forms of access devices and differently-abled learners. It is designed to enable people to learn and prepare from best practices from all over the world and to facilitate researchers to perform inter-linked exploration from multiple sources. It is developed, operated and maintained from Indian Institute of Technology Kharagpur.

Learn more about this project from here.

Disclaimer

NDLI is a conglomeration of freely available or institutionally contributed or donated or publisher managed contents. Almost all these contents are hosted and accessed from respective sources. The responsibility for authenticity, relevance, completeness, accuracy, reliability and suitability of these contents rests with the respective organization and NDLI has no responsibility or liability for these. Every effort is made to keep the NDLI portal up and running smoothly unless there are some unavoidable technical issues.

Feedback

Sponsor

Ministry of Education, through its National Mission on Education through Information and Communication Technology (NMEICT), has sponsored and funded the National Digital Library of India (NDLI) project.

Contact National Digital Library of India
Central Library (ISO-9001:2015 Certified)
Indian Institute of Technology Kharagpur
Kharagpur, West Bengal, India | PIN - 721302
See location in the Map
03222 282435
Mail: support@ndl.gov.in
Sl. Authority Responsibilities Communication Details
1 Ministry of Education (GoI),
Department of Higher Education
Sanctioning Authority https://www.education.gov.in/ict-initiatives
2 Indian Institute of Technology Kharagpur Host Institute of the Project: The host institute of the project is responsible for providing infrastructure support and hosting the project https://www.iitkgp.ac.in
3 National Digital Library of India Office, Indian Institute of Technology Kharagpur The administrative and infrastructural headquarters of the project Dr. B. Sutradhar  bsutra@ndl.gov.in
4 Project PI / Joint PI Principal Investigator and Joint Principal Investigators of the project Dr. B. Sutradhar  bsutra@ndl.gov.in
Prof. Saswat Chakrabarti  will be added soon
5 Website/Portal (Helpdesk) Queries regarding NDLI and its services support@ndl.gov.in
6 Contents and Copyright Issues Queries related to content curation and copyright issues content@ndl.gov.in
7 National Digital Library of India Club (NDLI Club) Queries related to NDLI Club formation, support, user awareness program, seminar/symposium, collaboration, social media, promotion, and outreach clubsupport@ndl.gov.in
8 Digital Preservation Centre (DPC) Assistance with digitizing and archiving copyright-free printed books dpc@ndl.gov.in
9 IDR Setup or Support Queries related to establishment and support of Institutional Digital Repository (IDR) and IDR workshops idr@ndl.gov.in
I will try my best to help you...
Cite this Content
Loading...