/cobol_to_elixir

Primary LanguageElixirMIT LicenseMIT

CobolToElixir

Run in Livebook

Roadmap:

  • Features
    • Identification Division
      • Program ID -> Module Name
      • Author -> Note in Moduledoc
      • Date-Written -> Note in Moduledoc
    • Working-Storage Section
      • Parse String Variable
      • Parse Simple Number Variable
      • Parse Complex Number Variable
      • Parse Group Items (nested maps)
    • File Access
      • Parse file-control
      • Parse file section
      • Write (Open Output)
      • Read (Open Input)
    • Procedure Division
      • Initialize Variables
      • Display
        • String
        • Simple Variable
        • Group Item (nested map)
      • Accept
      • Move
        • Into Simple Variable
        • Into Group Items
      • Compute
      • If/Else
      • Internal Subroutines (Perform)
      • External Subroutines (Call)
  • Testing Framework
    • Compile and execute COBOL code
    • Compile and execute Elixir code
    • Support specifying input (stdio)
    • Support comparing output (stdio)
    • Support specifying external files for input
    • Support comparing external output files on completion

Installation

If available in Hex, the package can be installed by adding cobol_to_elixir to your list of dependencies in mix.exs:

def deps do
  [
    {:cobol_to_elixir, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/cobol_to_elixir.