Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
Heritage_Platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gérard Huet
Heritage_Platform
Commits
6a68ee11
Commit
6a68ee11
authored
Feb 28, 2018
by
Gérard Huet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Notation ! for chunk non-terminal vocatives/interjection
parent
46f07e82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
ML/sanskrit.ml
ML/sanskrit.ml
+3
-2
No files found.
ML/sanskrit.ml
View file @
6a68ee11
...
...
@@ -77,10 +77,11 @@ EXTEND Gramskt
sanscrit
:
[
[
p
=
pada
;
"|"
;
"|"
->
[
p
]
|
p
=
pada
;
"|"
;
sl
=
sanscrit
->
[
p
::
sl
]
|
p
=
pada
;
`EOI
->
[
p
]
|
p
=
pada
;
"!"
;
sl
=
sanscrit
->
[
p
::
sl
]
(* for voc and interj *)
|
p
=
pada
;
`EOI
->
[
p
]
|
`EOI
->
failwith
"Empty sanskrit input"
]
]
;
(*i
Beware
! due to limitation of camlp4 grammars, not possible to simplify above in
(*i
NB
! due to limitation of camlp4 grammars, not possible to simplify above in
sanscrit:
[ [ p = pada; `EOI -> Pada p
| s = sloka -> Sloka s
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment