Replace current parser through a regular one
Bug #750577 reported by
SirVer
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Currently, the ultisnips parser uses a combination of regular expressions for convenience and some character based parser to handle non regularities. This is quite fragile and can't handle all cases. For example snippets, that begin with \$ are not expanded correctly at the moment.
UltiSnips will need a parser that does not depend on regular expressions.
Related branches
Changed in ultisnips: | |
status: | Confirmed → In Progress |
assignee: | nobody → SirVer (sirver) |
To post a comment you must log in.
I've been thinking about this too. It shouldn't be very difficult to
write a simple lexer and parser for snippets.
Have you already started on this?
On Mon, Apr 4, 2011 at 3:22 PM, SirVer <email address hidden> wrote: /bugs.launchpad .net/bugs/ 750577
> Public bug reported:
>
> Currently, the ultisnips parser uses a combination of regular
> expressions for convenience and some character based parser to handle
> non regularities. This is quite fragile and can't handle all cases. For
> example snippets, that begin with \$ are not expanded correctly at the
> moment.
>
> UltiSnips will need a parser that does not depend on regular
> expressions.
>
> ** Affects: ultisnips
> Importance: Medium
> Status: Confirmed
>
> --
> You received this bug notification because you are subscribed to
> UltiSnips.
> https:/
>
> Title:
> Replace current parser through a regular one
>