-
Notifications
You must be signed in to change notification settings - Fork 25
TypeCobolTypeDate
Olivier Smedile edited this page Feb 22, 2018
·
2 revisions
Date
is an intrinsic type of TypeCobol. A Date use the format YYYYMMDD
.
You can use the type Date just like any other TypeCobol type.
01 Identifier Type Date.
The Date type is defined like this:
01 Date Typedef strong.
05 YYYY pic X(04).
05 MM pic X(02).
05 DD pic X(02).
Date
is a Cobol 85 keyword. However we wanted to reuse this as a type name because the word Date
just fit perfectly for our need.
We didn’t want to name our type TCDate
or something like that.
Introduction
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