wszystkie opcje
experimental  ]
[ Pakiet źródłowy:  ]

Pakiet: libmarpa0 (6.1.0~dfsg-2) [debports]

Odnośniki dla libmarpa0

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego :

Nie znaleziono

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

Pakiet eksperymentalny

Ostrzeżenie: Pakiet pochodzi z dystrybucji eksperymentalnej. Oznacza to, że prawdopodobnie jest niestabilny lub zawiera błędy i może spowodować nawet utratę danych. Przed użyciem pakietu proszę koniecznie zapoznać się z dziennikiem zmian i inną dostępną dokumentacją.

BNF grammar parser - runtime library

Libmarpa is a C implementation of the core of Marpa parsing algorithm.

 * Marpa parses anything you can write in BNF,
   including ambiguous and even infinitely ambiguous grammars.
 * Marpa easily and efficiently handles both left- and right-recursion.
 * If a grammar is in one of the classes in practical use today,
   Marpa parses it in O(n) (linear) time.
 * Marpa never goes exponential.
   Worst case, even for wildly ambiguous grammars,
   is O(n3) (cubic) time.
 * Marpa's run-time error detection is revolutionary.
   Marpa has complete situational awareness.
   It knows at all times which rules it is attempting to apply,
   how far it has progressed in them,
   and exactly which tokens it can accept.
   And Marpa can communicate its situational awareness
   back to the application.
 * Marpa allows the application to efficiently retry rejected input.
   This, combined with its situational awareness,
   allows "Ruby Slippers" parsing:
   When an application has a token rejected,
   it can ask the parse engine which tokens would be acceptable.
   It can then create a virtual token
   that allows the parse to continue --
   the application can make the parse engine's "wishes" come true.
   The Ruby Slippers are easy to use
   and surprisingly wide in their application.

Marpa is named after the legendary 11th century Tibetan translator, Marpa Lotsawa.

Inne pakiety związane z libmarpa0

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie libmarpa0

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
ia64 (port nieoficjalny) 88,9 KiB339,0 KiB [lista plików]