Skip to content

Commit 5dba488

Browse files
authored
work on project and add links to example file
1 parent f52a4b2 commit 5dba488

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

PDL/example.pdl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# - Comment
2+
# https://macromates.com/manual/en/language_grammars
3+
# https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide
4+
5+
{food} # food class
6+
pizza = 'Peporoni' # pizza variable within food class
7+
bread = 'rye' # bread variable within food class
8+
cheese = 'mozzarella' # cheese variable within food class
9+
bread - cheeese = pizza # releationship combining bread and cheese to make pizza
10+
11+
{class2}
12+
variable = '1N'

PDL/package/PDLparse/parse.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import os, sys
2+
3+
def parsePDL(file):
4+
with open(file, 'r') as Fin:
5+
content = Fin.read()
6+
7+

PDL/package/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
"Development Status :: 1 - Beta",
2626
"Intended Audience :: Developers",
2727
"Programming Language :: Python :: 3",
28-
"Operating System :: Microsoft :: Windows :: Linux",
28+
"Operating System :: Microsoft :: Windows :: Linux :: Unix",
2929
]
3030
)

0 commit comments

Comments
 (0)