# \#parser

**URL:** https://discuss.ocaml.org/tag/parser/332.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [\[ANN\] First release of scfg](https://discuss.ocaml.org/t/ann-first-release-of-scfg/9249)

<div class="topic-metadata">

**Author:** [@ancolie](https://discuss.ocaml.org/u/ancolie)\
**Replies:** 10\
**Last updated:** [March 26, 2025, 7:28pm UTC](https://discuss.ocaml.org/t/ann-first-release-of-scfg/9249 "2025-03-26T19:28:18Z")

</div>

Hi, I’m pleased to announce the first release of scfg on opam. It provides a library and an executable to work with the scfg configuration file format. (disclaimer: scfg has been created by my good friend @emersion) H…

---

## [Solving shift/reduce conflicts for optional trailing comma in menhir](https://discuss.ocaml.org/t/solving-shift-reduce-conflicts-for-optional-trailing-comma-in-menhir/15042)

<div class="topic-metadata">

**Author:** [@ttzytt](https://discuss.ocaml.org/u/ttzytt)\
**Replies:** 4\
**Last updated:** [July 30, 2024, 7:34am UTC](https://discuss.ocaml.org/t/solving-shift-reduce-conflicts-for-optional-trailing-comma-in-menhir/15042 "2024-07-30T07:34:18Z")

</div>

Optional trailing commas (or other symbols) are quite a common feature in various programming languages. For example, Rust allows you to add a trailing comma at the end of an array like this ( Array and index expression…

---

## [Is there example code for parsing function call expression from string?](https://discuss.ocaml.org/t/is-there-example-code-for-parsing-function-call-expression-from-string/14397)

<div class="topic-metadata">

**Author:** [@george\_hu](https://discuss.ocaml.org/u/george_hu)\
**Replies:** 5\
**Last updated:** [April 1, 2024, 1:46am UTC](https://discuss.ocaml.org/t/is-there-example-code-for-parsing-function-call-expression-from-string/14397 "2024-04-01T01:46:12Z")

</div>

I have a program which allows user to enter some function alike order such as : “scaled(side=buy, amount=100, orderCount=30)”, and the string will be parsed and map to a similar function call, is there anyway of doing it…

---

## [Sanity check on grammar for tree language](https://discuss.ocaml.org/t/sanity-check-on-grammar-for-tree-language/13711)

<div class="topic-metadata">

**Author:** [@CharlesAverill](https://discuss.ocaml.org/u/CharlesAverill)\
**Replies:** 1\
**Last updated:** [December 25, 2023, 12:51pm UTC](https://discuss.ocaml.org/t/sanity-check-on-grammar-for-tree-language/13711 "2023-12-25T12:51:42Z")

</div>

Writing a parser for Pascal parse tree dump files, which can contain tree structures with multiple children like: (node A (node B) (node C) (node D (node F) ) ) (where B, C, and D are children of A, …

---

## [ASK: rfc7235 auth-param parser?](https://discuss.ocaml.org/t/ask-rfc7235-auth-param-parser/12505)

<div class="topic-metadata">

**Author:** [@mro](https://discuss.ocaml.org/u/mro)\
**Replies:** 3\
**Last updated:** [June 30, 2023, 6:44am UTC](https://discuss.ocaml.org/t/ask-rfc7235-auth-param-parser/12505 "2023-06-30T06:44:56Z")

</div>

does anybody happen to have such a parser at hand? Otherwise I build one with tyre. P.S.: I need it for #Seppo! / ActivityPub and think a mere split on , is not production ready.

---

## [Generate a parser enabling incremental API and inspection API](https://discuss.ocaml.org/t/generate-a-parser-enabling-incremental-api-and-inspection-api/9380)

<div class="topic-metadata">

**Author:** [@SoftTimur](https://discuss.ocaml.org/u/SoftTimur)\
**Replies:** 1\
**Last updated:** [February 21, 2022, 7:35pm UTC](https://discuss.ocaml.org/t/generate-a-parser-enabling-incremental-api-and-inspection-api/9380 "2022-02-21T19:35:22Z")

</div>

I have a big project built by menhir and traditional makefile. First, I wanted to add a mechanism of error handling like this project to my project. By following the dune of the sample project, I managed to generate .ml…

---

## [How to resolve parser conflicts](https://discuss.ocaml.org/t/how-to-resolve-parser-conflicts/9314)

<div class="topic-metadata">

**Author:** [@Nolord](https://discuss.ocaml.org/u/Nolord)\
**Replies:** 5\
**Last updated:** [February 14, 2022, 1:00pm UTC](https://discuss.ocaml.org/t/how-to-resolve-parser-conflicts/9314 "2022-02-14T13:00:21Z")

</div>

Hello, I’m using OCaml Yacc to parse but, while compiling, I get a warning Warning: 9 states have shift/reduce conflicts. Warning: 2 states have reduce/reduce conflicts. Warning: 68 shift/reduce conflicts were arbitr…

---

## [\[ANN\] first release of pyast](https://discuss.ocaml.org/t/ann-first-release-of-pyast/8596)

<div class="topic-metadata">

**Author:** [@thierry-martinez](https://discuss.ocaml.org/u/thierry-martinez)\
**Replies:** 0\
**Last updated:** [October 8, 2021, 1:47pm UTC](https://discuss.ocaml.org/t/ann-first-release-of-pyast/8596 "2021-10-08T13:47:17Z")

</div>

I have the pleasure to announce the first release of pyast, a library provides versioned abstract syntax tree for all Python versions from Python 2.5 to Python 3.10. Available on opam: opam install pyast The purpose of…

---

## [\[ANN\] FrontC 4.1.0 (Vingt ans après)](https://discuss.ocaml.org/t/ann-frontc-4-1-0-vingt-ans-apres/7906)

<div class="topic-metadata">

**Author:** [@ivg](https://discuss.ocaml.org/u/ivg)\
**Replies:** 2\
**Last updated:** [May 26, 2021, 1:29pm UTC](https://discuss.ocaml.org/t/ann-frontc-4-1-0-vingt-ans-apres/7906 "2021-05-26T13:29:34Z")

</div>

More than twenty years after its original release FrontC is still alive and getting new updates. Mostly it started with my frustration with its Makefiles that ended up in switching to menhir and dune and adding cram test…

---

## [Parser beginner needs help](https://discuss.ocaml.org/t/parser-beginner-needs-help/4472)

<div class="topic-metadata">

**Author:** [@phstrauss](https://discuss.ocaml.org/u/phstrauss)\
**Replies:** 3\
**Last updated:** [October 5, 2019, 7:11am UTC](https://discuss.ocaml.org/t/parser-beginner-needs-help/4472 "2019-10-05T07:11:25Z")

</div>

Hello OCamliens, I’m trying to learn how to make a parser based on ocamllex and menhir. The files on which I’m currently working on can be downloaded here : http://www.strauss-engineering.ch/tmp/parser-mini.tgz (guar…
