Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COThanks. I've used flex/bison in the past, which was good in its way, and I'm aware of the other parser generators like ANTLR (I've even written one in python). For that matter the simplicity of the language means its no trouble to write a recursive descent parser by hand and have that report errors (which I may do). But XPressive is in C++ with no extra build step (which can be a pain when building on multiple Operating systems) and I'd like to use it if possible. I tried boost::spirit but the the extra complexity and length/illegibility of compiler errors put me off.
      singulars
    2. COBoost itself is a pain for some users on some systems. For example people with older versions of compilers (e.g. OS-vendor provided ones) may not be able to build your code. I would argue that while your build script may need a couple special lines for ANTLR, using ANTLR instead of Xpressive may end up making your overall project more portable, not less. Certainly what you say about Spirit agrees with my experience--that thing at first appears to be production-ready, but I'm not so sure.
      singulars
    3. COAll fair points! My worry was not so much portability, more laziness! When I say 'a pain building on multiple operating systems', I of course mean windows. It always seems five times the work/testing to add something into a windows build chain. Also I will probably end up depending on boost for one or two other things. As I suspected I've ended up hand crafting one (which probably took less time than reading the ANTLR manual, or re-reading the flex/bison manuals for that matter). Just wanted to know if i could do it with XPressive, even if its not the *best* way to do it.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload