-
Notifications
You must be signed in to change notification settings - Fork 25
Server.CLI
The TypeCobol parser can be accessed through a command line interface (CLI).
TypeCobol.Server.exe [OPTIONS]... [PIPENAME]
Run the TypeCobol parser server.
Parse one set of files and exit. If present, this option does NOT launch the server.
PATH to an input file to parse. This option can be specified more than once.
PATH to an ouput file where to generate code. This option can be specified more than once.
If present, this option generates code corresponding to each input file parsed.
PATH to the error diagnostics file.
ENCODING of the file(s) to parse.
It can be one of rdz
(this is the default), zos
, or utf8
.
If this option is not present, the parser will attempt to guess the ENCODING automagically.
PATH to a copy to load. This option can be specified more than once.
Output a usage message and exit.
Output the version number of TypeCobol.Server.exe and exit.
This interface allows two run modes.
First, one can run a parsing operation on one given set of TypeCobol files. The parser will output errors if any. After the parsing phase, COBOL85 code corresponding to the parsed TypeCobol code can optionally be output.
Second, the parser can be run as a stateful parsing server. When run like this, the parser will wait for input on a named pipe (the pipe name is given as an argument), then parse whatever comes through the pipe. If something has already been parsed, the server will only parse the diff between the current state and what is already known.
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