All Projects → j123b567 → Scpi Parser

j123b567 / Scpi Parser

Licence: bsd-2-clause
Open Source SCPI device library

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Scpi Parser

Mercury Parser
📜 Extract meaningful content from the chaos of a web page
Stars: ✭ 4,025 (+1673.13%)
Mutual labels:  parser-library
Mibble
Mibble is an open-source SNMP MIB parser library for Java.
Stars: ✭ 84 (-63%)
Mutual labels:  parser-library
Uriparser
🔪 Strictly RFC 3986 compliant URI parsing and handling library written in C89; moved from SourceForge to GitHub
Stars: ✭ 163 (-28.19%)
Mutual labels:  parser-library
Biojava
📖🔬☕️ BioJava is an open-source project dedicated to providing a Java library for processing biological data.
Stars: ✭ 434 (+91.19%)
Mutual labels:  parser-library
Substitution Schedule Parser
Java library for parsing schools' substitution schedules. Supports multiple different systems mainly used in the German-speaking countries, including Untis, svPlan, and DAVINCI
Stars: ✭ 33 (-85.46%)
Mutual labels:  parser-library
Cppcmb
A generic C++17 parser-combinator library with a natural grammar notation.
Stars: ✭ 108 (-52.42%)
Mutual labels:  parser-library
Dart Petitparser
Dynamic parser combinators in Dart.
Stars: ✭ 266 (+17.18%)
Mutual labels:  parser-library
Tatsu
竜 TatSu generates Python parsers from grammars in a variation of EBNF
Stars: ✭ 198 (-12.78%)
Mutual labels:  parser-library
Cppast
Library to parse and work with the C++ AST
Stars: ✭ 1,003 (+341.85%)
Mutual labels:  parser-library
Pygdbmi
A library to parse gdb mi output and interact with gdb subprocesses
Stars: ✭ 139 (-38.77%)
Mutual labels:  parser-library
Dante
A sane rich text parsing and styling library.
Stars: ✭ 450 (+98.24%)
Mutual labels:  parser-library
Recognizers Text
Microsoft.Recognizers.Text provides recognition and resolution of numbers, units, and date/time expressed in multiple languages (ZH, EN, FR, ES, PT, DE, IT, TR, HI. Partial support for NL, JA, KO, SV). Contributions are greatly welcome! Packages are available at https://www.nuget.org/profiles/Recognizers.Text and https://www.npmjs.com/~recognizers.text
Stars: ✭ 915 (+303.08%)
Mutual labels:  parser-library
Java Petitparser
Dynamic parser combinators in Java.
Stars: ✭ 118 (-48.02%)
Mutual labels:  parser-library
Bearparser
Portable Executable parsing library (from PE-bear)
Stars: ✭ 415 (+82.82%)
Mutual labels:  parser-library
Libpypa
libpypa is a Python parser implemented in pure C++
Stars: ✭ 172 (-24.23%)
Mutual labels:  parser-library
Kgt
BNF wrangling and railroad diagrams
Stars: ✭ 312 (+37.44%)
Mutual labels:  parser-library
Mediawiki
MediaWiki API wrapper in python http://pymediawiki.readthedocs.io/en/latest/
Stars: ✭ 89 (-60.79%)
Mutual labels:  parser-library
Lark
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
Stars: ✭ 2,916 (+1184.58%)
Mutual labels:  parser-library
Participle
A parser library for Go
Stars: ✭ 2,302 (+914.1%)
Mutual labels:  parser-library
Chevrotain
Parser Building Toolkit for JavaScript
Stars: ✭ 1,795 (+690.75%)
Mutual labels:  parser-library

SCPI parser library v2

Documentation

Documentation is available at http://j123b567.github.io/scpi-parser.

Examples

Library contains several examples of usage but please note, that this code is just for educational purpose and not production ready. Examples are from several contributors and they are not tested and it is also not known, if they really work or can compile at all.

The core library itself is well tested and has more then 93% of the code covered by unit tests and integration tests and tries to be SCPI-99 compliant as much as possible.

About

SCPI Parser library aims to provide parsing ability of SCPI commands on instrument side. All commands are defined by its patterns eg: "STATus:QUEStionable:EVENt?".

Source codes are published with open source BSD 2-Clause License.

SCPI parser library is based on these standards

SCPI version compliance

SCPI version v1999.0

Supported command patterns

Feature Pattern example
Short and long form MEASure means MEAS or MEASURE command
Common command *CLS
Compound command CONFigure:VOLTage
Query command MEASure:VOLTage?, *IDN?
Optional keywords MEASure:VOLTage[:DC]?
Numeric keyword suffix
Multiple identical capabilities
OUTput#:FREQuency

Supported parameter types

Type Example
Decimal 10, 10.5
Decimal with suffix -5.5 V, 1.5 KOHM
Hexadecimal #HFF
Octal #Q77
Binary #B11
String "text", 'text'
Arbitrary block #12AB
Program expression (1)
Numeric list (1,2:50,80)
Channel list (@1!2:3!4,5!6)
Character data MINimum, DEFault, INFinity

travis build Coverage Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].