Skip to content

NullPainter2/petz-linez-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tried few ways to parse LNZ file, in the end parsing seems simplest using attributes.

But in case custom parsing of line is needed, use the LnzRowParser.

Running

dotnet run

Usage

1. Annotate what fields will be parsed

The LnzAttributeParser will detect how to parse each field automatically based on type.

chrome_DypBVW0tqc

2. Parse them with LnzParser

LnzParser just loops trough lines and allows to detect and branch into the section ... To make this a simple example, parsing is assumed to just add to the List ...

chrome_RqgoC5i1Sx

Example usage

chrome_7QVNwKaJDs rider64_Hbcf2dduVx

About

LNZ parser - proof of concept

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages