cobol_to_elixir icon indicating copy to clipboard operation
cobol_to_elixir copied to clipboard

CobolToElixir

Run in Livebook

Roadmap:

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