paint-brush
Convert Formatted Text Into a Data Structure Using Parsingby@dm8typrogrammer
445 reads
445 reads

Convert Formatted Text Into a Data Structure Using Parsing

by The Mighty Programmer4mJanuary 11th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Parsing is a process of converting formatted text into a data structure. Parser analyses source text against the format* prescribed. If source text does not match against format error is thrown or returned. If matches then “data structure” is returned. This is an illustration of Regular Expression based parsing, which is limited to. format format, which can be defined by regular expressions. A small-scale illustration of parsing with “Regex” might be a fair approach for one-two lines input text but not in every case.

Company Mentioned

Mention Thumbnail
featured image - Convert Formatted Text Into a Data Structure Using Parsing
The Mighty Programmer HackerNoon profile picture
The Mighty Programmer

The Mighty Programmer

@dm8typrogrammer

Writing about Software Design and Software Engineering

Learn More
LEARN MORE ABOUT @DM8TYPROGRAMMER'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

The Mighty Programmer HackerNoon profile picture
The Mighty Programmer@dm8typrogrammer
Writing about Software Design and Software Engineering

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Coffee-web
Learnrepo