jarble

Results 72 issues of jarble

I'm developing an application that requires the grammar rules to be modified after the grammar is created. After creating a grammar like this one, would it be possible to add...

enhancement

I'm trying to write a parser for a "context-sensitive" grammar in Nearley, but I'm not sure if it's possible to do this yet. For example, I would want this rule...

In some parser generators (such as PEG.js), it's possible to declare parameters in a grammar rule, and then use them in the parser's output: ``` add = (left:mul "+" right:add...

I want to write a parser that "learns" new grammar rules by modifying itself at runtime, but I don't know if Nearley can do this. An "adaptive grammar" rule might...

Does Luafun have a syntax for pattern matching, similar to functional programming languages such as Elixir? I wish Luafun had something similar to the [ex-patterns](https://moritzploss.github.io/ex-patterns/#/) JavaScript library, which implements Elixir-style...

feature

Algebrite is currently unable to solve polynomial equations involving fractions, such as this one: `roots(3 x + (12 + y)/x = 24)` But it finds a solution if I re-factor...

When I type `roots(|x|-1)` or `roots(abs(x)-1)` on [this page](http://algebrite.org/), Algebrite finds a syntax error. Algebrite is apparently unable to parse these expressions, but they should be interpreted as `roots(sqrt(x)^2-1)`.

Is Algebrite able to find the roots of a system of equations, instead of just one equation? I am interested in solving systems of polynomial equations, like `(x^2 - 2...

Is Algebrite currently capable of solving Boolean expressions? Since Algebrite is able to solve polynomials, it should be able to solve Boolean expressions by [converting them to polynomials](https://math.stackexchange.com/questions/2244230/converting-boolean-expressions-to-polynomials).

I tried to solve an equation with modular arithmetic, but there seems to be a syntax error here: `(x % 4)+1=3` ``` (x % ? 4)+1=3 Stop: ) expected ```...