-
Notifications
You must be signed in to change notification settings - Fork 25
Namespaces
Olivier Smedile edited this page Apr 10, 2017
·
3 revisions
TypeCobol doesn't support namespace for now. However we support to add Program as a qualifier.
Example: With the following program
IDENTIFICATION DIVISION.
PROGRAM-ID. PGM1.
DATA DIVISION .
working-STORAGE SECTION.
PROCEDURE DIVISION.
declare procedure isDateValid private
input date1 type Date
output result type Bool.
procedure division.
* code of the procedure here...
set result to true
.
end-declare.
END PROGRAM PGM1.You can write:
01 myData type PGM1::Person.
call PGM1::isDateValid input myDate
output resultIntroduction
TypeCobol language
-
In a nutshell
-
TypeCobol concepts
TypeCobol Editor
(Type)Cobol parser API
TypeCobol architecture
- Glossary
- Main phases
- How to extend the grammar and semantic check (full example)
- File
- Text
- Code analysis steps
- Program class parser
- Type checker
- Error handler
- Grammars Composition
- Code generation
- Compilation process
(Type)Cobol concepts / reference doc
Contributing