• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux The Parsnip Parser Library Download

The Parsnip Parser Library

October 5, 2007
Parsnip Parser Library enables users to construct intricate parsers using an abundant array of parser primitives.
Version 0.21
License LGPL
Platform Linux
Supported Languages English
Homepage parsnip-parser.sourceforge.net
Developed by Alex Rubinsteyn
The Parsnip Parser Library is a software tool that lets you construct complex parsers from a wide range of parser primitives. This pattern of parser construction is influenced by parsec and other parser combinator libraries for Haskell and ML. With Parsnip, the default parser strategy is a type of packrat parsing, enriched to allow for left-recursion within a parser.

Thanks to this feature, Parsnip can recognize a more extensive range of languages, compared to Parser Expression Grammars. However, if needed, vanilla packrat parsing is available as a configuration option.

The software provides several parser methods that can be called within the programming language. Among the available functions are:

- ch (char c): Returns a CharParser that matches character c and returns it as a string.
- str (string s): Returns a StringParser that matches a sequence of input characters to string s and returns s.
- range (char l, char u): Returns a CharRangeParser that succeeds only if the input character is within the defined range [l, u].
- oneOf (string s): Returns a OneOfParser that matches an input character to any character in string s and returns the matched character in a string.
- seq < I, R > (Parser< I, R > p1, Parser< I, R > p2): Creates a sequence parser that returns a tuple of results if both parsers succeed; fails otherwise.
- seq_vec < I, R > (Parser< I, R > p1, Parser< I, R > p2): Creates a vector sequence parser that returns a vector of results if both parsers succeed; fails otherwise.
- concat (Parser< string, string > p1, Parser< string, string > p2): Creates a concat parser that parses in sequence but concatenates results rather than tupling them.
- choice < I, R > (Parser< I, R > p1, Parser< I, R > p2): Returns the first of its two parser parameters to succeed, failing otherwise. Backtracks on the input stream for the second parser.
- not< I, R > (Parser< I, R > p): Creates a NotParser that succeeds if p fails and consumes no input.
- call0< I, R > (Parser< I, void > p, R (*fn) (void)): Creates a CallParser that calls fn if p's parse succeeds.
- call1< I, T, R > (Parser< I, T > p, R (*fn) (T)): Creates a CallParser that calls fn with the results of p's parse.
- call2< I, T1, T2, R > (Parser< I, Tuple2< T1, T2 > > p, R (*fn) (T1, T2)): Creates a CallParser that unpacks the 2-tuple that p returns and passes the components as arguments to fn.
- call3< I, T1, T2, T3, R > (Parser< I, Tuple3< T1, T2, T3 > > p, R (*fn) (T1, T2, T3)): Creates a CallParser that unpacks the 3-tuple that p returns and passes the components as arguments to fn.
- many < I, R, Acc > (Parser< I, R > p, int min = 0, int max = INT_MAX): Creates a
What's New

Version 0.21: N/A

Free Download 45K
315
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

kavenc
Kavenc is a user-friendly software utility designed for the KDE service menu, ...
ZQuake
ZQuake is a software that enables players to enjoy an updated version ...
Pipepanic
Pipepanic is a puzzle game that involves connecting pipes using the libSDL ...
Joobsbox PHP
A job platform that is open source, flexible, and extensible, allowing for ...
Volume.app
Volume.app is a simple tool that allows users to easily adjust their ...
simple-db-migrate
This tool is a database versioning and migration utility that takes inspiration ...
rpmrebuild
Rpmrebuild creates an RPM file from an installed package without requiring knowledge ...
Network Chemistry RogueScanner
RogueScanner is an open-source tool used for vulnerability management.
Proxmox Mail Gateway
Proxmox Mail Gateway detects spam and viruses, covering all unwanted e-mail traffic. ...
IPod Slave
iPod Slave is a software that permits KIO aware Linux applications such ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.