Shishi

Shishi is een Perl-wikkel voor de Shishi-parserende bibliotheek.
Download nu

Shishi Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Simon Cozens
  • Uitgever website:
  • http://search.cpan.org/~simon/Sub-Versive-0.01/Versive.pm

Shishi Tags


Shishi Beschrijving

Shishi is een Perl-wikkel voor de Shishi-parserende bibliotheek. Shishi is een Perl-wikkel voor de Shishi Parsing Library.Synopsis Gebruik Shishi; # Maak een parser My $ Parser = New Shishi ("Sommige naam"); # Voeg een basisknooppunt toe dat mijn $ NUDEA = SHISHI :: NODE-> NIEUW ("START"); $ parser-> add_node ($ NODEA); # Voeg een knooppunt toe met een eenvoudige regel: # State C: Match 'C' -> Ga naar Accepteer State My $ NODEC = Shishi :: Node-> Nieuw ("C") -> Add_Decision (New Shishi :: Besluit (doel => 'C', type => 'char', actie => 'finish')); # State B: Match 'B' -> Go to State C My $ NODEB = Shishi :: Node-> Nieuw ("B") -> Add_Decision (New Shishi :: Besluit (doelwit => 'B', Type => 'Char', Action => 'Doorgaan', next_node => $ NODEC)); # Vanaf het eerste knooppunt: Match 'A' -> Ga naar State B $ Parser-> Start_node-> Add_Decision (New Shishi :: Besluit (doelwit => 'A', Type => 'Char', Action => 'Doorgaan ', NEXT_NODE => $ NODEB)); # Vertel de parser dat deze staten horen. (Helpt bij GC) $ Parser-> Add_Node ($ NODEB); $ parser-> add_node ($ NODEC); # We hebben nu een staatsmachine die 'ABC' accepteert: OK (! $ Parser-> Execute (shishi-> new_match ("AB"))); OK ($ Parser-> Execute (shishi-> new_match ("ABC"))); Vereisten: · Perl


Shishi Gerelateerde software

Mamory

MAMORY is een bibliotheek voor ROM-beheer in emulator-gerelateerde projecten. ...

158

Downloaden