[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lojban] Mass import into jbovlaste ?
Attached, find a PEG grammar for the gismu list. It may or may not
be useful...
-Alan
On Tue, Oct 11, 2011 at 07:38:04AM -0700, najrut wrote:
> >>If you can simply get things in the same format as the main gismu list,
> I can probably make it work.
> Sounds promising. What is the format of gismu list ?
> Do you
> mean [1]https://github.com/lojban/jbovlaste/blob/master/bin/gismu.txt ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "lojban" group.
> To view this discussion on the web visit
> [2]https://groups.google.com/d/msg/lojban/-/tnxpu3IixlgJ.
> To post to this group, send email to lojban@googlegroups.com.
> To unsubscribe from this group, send email to
> lojban+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/lojban?hl=en.
>
> References
>
> Visible links
> 1. https://github.com/lojban/jbovlaste/blob/master/bin/gismu.txt
> 2. https://groups.google.com/d/msg/lojban/-/tnxpu3IixlgJ
--
.i ma'a lo bradi cu penmi gi'e du
--
You received this message because you are subscribed to the Google Groups "lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojban?hl=en.
cfari <- `((!CRLF .)* CRLF) lerpinsle* `FAhO
lerpinsle <- `canlu-lerfu
( gismu
/ relerfu-rafsi `cicanlu-lerfu
/ cilerfu-rafsi `recanlu-lerfu
/ volerfu-rafsi `canlu-lerfu )
`canlu-lerfu
( cilerfu-rafsi / `cicanlu-lerfu )
`canlu-lerfu
( cilerfu-rafsi / `cicanlu-lerfu )
`canlu-lerfu
( cilerfu-rafsi `canlu-lerfu
/ volerfu-rafsi
/ `vocanlu-lerfu )
`canlu-lerfu
short
long
`CRLF?
-> {(lambda lerpinsle (assq 'gismu lerpinsle))}
gismu <- [[:jbole'u:]]{5} -> {(lambda (gismu) `(gismu ,gismu))}
relerfu-rafsi <- [[:jbole'u:]]{2} -> {(lambda (rafsi) `(rafsi ,rafsi))}
cilerfu-rafsi <- [[:jbole'u:]]{3} -> {(lambda (rafsi) `(rafsi ,rafsi))}
volerfu-rafsi <- [[:jbole'u:]]{4} -> {(lambda (rafsi) `(rafsi ,rafsi))}
short <- .{21} -> {(lambda (lerfu) `(short lerfu))}
long <- (!EOL .)+ -> {(lambda (lerfu) `(long ,lerfu))}
canlu-lerfu <- [[:space:]]
recanlu-lerfu <- [[:space:]]{2}
cicanlu-lerfu <- [[:space:]]{3}
vocanlu-lerfu <- [[:space:]]{4}
EOL <- CRLF
/ &FAhO
CRLF <- CR LF / CR / LF
CR <- #\return
LF <- #\linefeed
FAhO <- !.