Related articles |
---|
ISIS assisting facility jack@dimap.ufrn.br (1994-11-09) |
ISIS assisting facility jack@dimap.ufrn.br (1994-11-09) |
Newsgroups: | comp.compilers |
From: | jack@dimap.ufrn.br (Jackson William Marques de Carvalho) |
Keywords: | parse, question |
Organization: | Compilers Central |
Date: | Wed, 9 Nov 1994 14:16:44 GMT |
I have been trying to develop an ASSISTING facility to help MICRO ISIS
users with the creation of databases. I thought about designing this
helping facility based on the grammar which I have appended to this. Is
there any public domain tool I can obtain in order to transform this
grammar into LL(1)? What type of approach is best suitable to solve this
problem?
Thanks in advance,
Jackson
[Looks to me like a fine application for PCCTS. -John]
-----------------------------------------------------------------
[isis-fmt] :== [fmt-elem]|[fmt-elem][separator][isis-fmt]
[separator]:==,|space|[spacing-string]|,[separator]|space[separator]
[spacing-string]:==[spacing-parameter]|[spacing-parameter][spacing-string]
[spacing-parameter]:==/|#|%|C[integer]|X[integer]
[fmt-elem]:== [field-selector]|[dummy-field]|[u-lit]|[spacing-string]|[mfn]|
[mode-parameter]|[esc-string]|[repeatable-group]
[u-lit]:=='[character-string]'|[character-string]
[mfn]:==MFN|MFN([integer])
[mode-parameter]:==MPL|MPU|MHL|MHU|MDL|MDU
[esc-string]:==![esc-d][esc-sequence][esc-d]
[esc-d]:==any character not contained in [esc-sequence]
[repeatable-group]:==([isis-fmt])
[field-selector]:==[field-fmt]|[prefix][field-fmt]|[prefix][field-fmt][suffix]
[dummy-field]:==[dummy-id]|[c-string][dummy-id]
[dummy-id]:==D[field-id]|N[field-id]
[field-fmt]:==[field]|[field]([indention])
[indention]:==[integer]|[integer],[integer]
[field]:==V[field-id]
[field-id]:==[integer]|[integer]^[char]
[prefix]:==[c-string]|[c-string][r-prelit]|[r-prelit]
[c-string]:==[c-lit]|[c-lit][c-group]|[c-lit][c-string]
[c-group]:==[c-fmt]|[c-fmt][c-group]
[c-fmt]:==[spacing-string]|[esc-string]|[mode-parameter]
[r-prelit]:==[r-lit]|[r-lit]+
[sufix]:==[r-poslit]|[c-lit]|[r-poslit][c-lit]
[r-poslit]:==[r-lit]|+[r-lit]
[c-lit]:=="[character-string]"
[r-lit]:==![character-string]!
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.