Syntax and Semantics
NBP Reservation, City of Muntinlupa
A Research study of
Programming Language Specification
Prepared and Submitted by:
Cagande , Leonnesa Louise B.
Gatchalian, Rizalina V.
Rapsing, Romalyn S.
BSCS – 4C
Prof. Sahawi, Malik
Abstract This research is about the components of program language in order to make a program. These are syntax, semantics and pragmatics.
Introduction Programming language is a language intended for use by a person to express a process by which a computer can solve a problem. It is use to make a program. Program is a formal description of characteristics required of a problem solution. Programs tell what should be not how to make it so. But first we have to learn and understand its component in order to write a correct program and to be able to predict the effect of execution of a program. Syntax, semantics and pragmatics are use to construct a program. These are the source codes and the meaning of it. Research Approach Syntax The structural rules of a language that determine the form of a program written in the language. Is the form in which programs are written to give the rules of syntax for a programming language to tell how statements, declarations, and other language constructs are written.
The primary purpose of syntax is to provide a notation for communication of information between programmers and programming language processor.
Readability A program is readable if the underlying structure of the algorithm and data represented by the program is apparent from an inspection of the program text. A readable program is often said to be self documenting, it is understandable without any separate documentation. Readability is enhanced by such language features is natural statement formats, structural statements, liberal use of keywords and noise words, provision for embedded comments, unrestricted length