Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

pfeiferj/tree-sitter-x12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree-sitter-x12

A tree-sitter parser for the x12 transaction format.

This is very loosely based on the grammar provided in the "x12.6 - Application Control Structure" document. It is a simplified version of the "3.7 - Data Segment" section with some modifications. See Notes for known parsing issues.

Notes

  • Does not provide validations against x12 transaction sets, instead this parser loosely identifies segments, data elements, and components.

  • Does not support x12 transactions that use escape characters.

  • Does not support x12 transactions that use binary segments.

  • Allows blank-space between segments for the purposes of allowing parsing when splitting segments by newlines after the segment terminator.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published