# COBOL copybook parser

**URL:** <https://www.ruby-forum.com/t/cobol-copybook-parser/141342>\
**Category:** Ruby\
**Created:** [June 24, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/cobol-copybook-parser/141342 "2008-06-24T21:30:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![toddlc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e79b87/32.png) [@toddlc](https://www.ruby-forum.com/u/toddlc)\
**Post date:** [June 24, 2008, 9:30pm UTC](https://www.ruby-forum.com/t/cobol-copybook-parser/141342/1 "2008-06-24T21:30:44Z")

</div>

Hi all,

Does a Ruby parser for COBOL exist? I’ve done some cursory searches  
and have come up empty, though a colleague has suggested a module is  
out there.

I’m not looking to parse a particular copybook (I could write a custom  
parser to pick out the column delimited data); I want to generate Ruby  
types based on any arbitrary copybook.

Thanks,

Todd
