Ignore:
Timestamp:
Sep 2, 2008, 4:54:12 PM (12 years ago)
Author:
orlov
Message:
  • Some progress in the LFC implementation through ASR.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/trunk/LFC/Earley/Earley.rf

    r3893 r3895  
    8787Main =
    8888  <Init (PROD (TYPE ('E')) ((TYPE ('E')) '+' (TYPE ('E'))) ('n'))>,
    89   <Check (TYPE ('E'))/* '+' (TYPE ('E'))*/ ('n+n')>,
     89  <Check (TYPE ('E')) ('n+n')>,
     90  <PrintLn>,
     91  <Check (TYPE ('E')) ('n+n+n')>,
    9092  <PrintLn>,
    9193  <Init (PROD (TYPE ('S')) ((TYPE ('A')) (TYPE ('A')) (TYPE ('A')) (TYPE ('A'))))
    9294        (PROD (TYPE ('A')) ('a') ((TYPE ('E'))))
    9395        (PROD (TYPE ('E')) ())>,
    94   <Check (TYPE ('S')) ('a')>;
     96  <Check (TYPE ('S')) ('a')>,
     97  <PrintLn>,
     98  <Init (PROD (TYPE ('T')) ((TYPE ('A'))) ((TYPE ('B'))))
     99        (PROD (TYPE ('A')) ('x'))
     100        (PROD (TYPE ('B')) ('x'))>,
     101  <Check (TYPE ('T')) ('x')>;
Note: See TracChangeset for help on using the changeset viewer.