TypeCobol
TypeCobol copied to clipboard
TypeCobol is an Incremental Cobol parser for IBM Enterprise Cobol 6 for zOS syntax. TypeCobol is also an extension of Cobol 85 language which can then be converted to Cobol85.
Our current implementation of subscript-checking does not handle tables declared in TC typedefs. For example, this code won't produce any warning despite the fact that the subscript literal exceeds the...
**Describe the bug** A wrong diagnostic is created on certain SET statements. **To Reproduce** (Type)Cobol code that cause the bug : (if any) ```cobol IDENTIFICATION DIVISION. PROGRAM-ID. Pgm. DATA DIVISION....
Currently, we have some files that need to be generated manually (e.g. Cup files or skeletons in PR #1178 ) We would like to automate the process when needed, for...
**Describe the bug** Some literals are not correctly reocgnized by our parser. Bug in `PictureValidator` ? **To Reproduce** (Type)Cobol code that cause the bug : (if any) ```cobol IDENTIFICATION DIVISION....
**Describe the bug** Some of the keywords reserved by our parser are actually not reserved words in Cobol and can be used as identifiers. **To Reproduce** (Type)Cobol code that cause...
**Describe the bug** When using a variable in condition instead of a DataCondition (Level-88), the parser does not emit any diagnostic. **To Reproduce** (Type)Cobol code that cause the bug :...
See https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/covariant-returns. This new C# 9 feature can be used to simplify the code related to `CodeElement` / `InternalCodeElement` properties. - change return type for `Node.CodeElement` - remove `InternalCodeElement` property
**Describe the bug** Index was outside the bounds of the array. (`IndexOutOfRangeException`) is thrown by `Scanner.ScanTokensLineContinuationGroup`. Stacktrace ``` à TypeCobol.Compiler.Scanner.Scanner.ScanTokensLineContinuationGroup(IList`1 continuationLinesGroup, MultilineScanState initialScanState, ColumnsLayout format, TypeCobolOptions compilerOptions, List`1 copyTextNameVariations) à...
To benefit from latest improvements on JSON serialization-deserialization, migrate to `System.Text.Json` and remove Newtonsoft dependency in LS / LSR.
In `CobolTextLine`, when attempting to create the indicator area for the line, the parser checks for the presence of specific compiler directive keywords that may be written before column 8....