PyReprism 0.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- PyReprism/__init__.py +0 -0
- PyReprism/languages/__init__.py +147 -0
- PyReprism/languages/_base.py +30 -0
- PyReprism/languages/abap.py +52 -0
- PyReprism/languages/actionscript.py +52 -0
- PyReprism/languages/ada.py +53 -0
- PyReprism/languages/apacheconf.py +52 -0
- PyReprism/languages/apl.py +52 -0
- PyReprism/languages/applescript.py +52 -0
- PyReprism/languages/arduino.py +52 -0
- PyReprism/languages/arff.py +52 -0
- PyReprism/languages/asciidoc.py +52 -0
- PyReprism/languages/asm6502.py +51 -0
- PyReprism/languages/aspnet.py +51 -0
- PyReprism/languages/autohotkey.py +51 -0
- PyReprism/languages/autoit.py +50 -0
- PyReprism/languages/bash.py +52 -0
- PyReprism/languages/basic.py +52 -0
- PyReprism/languages/batch.py +52 -0
- PyReprism/languages/bison.py +52 -0
- PyReprism/languages/brainfuck.py +52 -0
- PyReprism/languages/bro.py +50 -0
- PyReprism/languages/c.py +52 -0
- PyReprism/languages/clike.py +52 -0
- PyReprism/languages/clojure.py +50 -0
- PyReprism/languages/coffeescript.py +50 -0
- PyReprism/languages/cpp.py +52 -0
- PyReprism/languages/crystal.py +50 -0
- PyReprism/languages/csharp.py +53 -0
- PyReprism/languages/csp.py +50 -0
- PyReprism/languages/css.py +50 -0
- PyReprism/languages/css_extras.py +50 -0
- PyReprism/languages/d.py +50 -0
- PyReprism/languages/dart.py +52 -0
- PyReprism/languages/diff.py +49 -0
- PyReprism/languages/django.py +55 -0
- PyReprism/languages/docker.py +50 -0
- PyReprism/languages/eiffel.py +49 -0
- PyReprism/languages/elixir.py +50 -0
- PyReprism/languages/erb.py +0 -0
- PyReprism/languages/erlang.py +50 -0
- PyReprism/languages/flow.py +0 -0
- PyReprism/languages/fortran.py +49 -0
- PyReprism/languages/fsharp.py +49 -0
- PyReprism/languages/gedcom.py +0 -0
- PyReprism/languages/gherkin.py +0 -0
- PyReprism/languages/git.py +0 -0
- PyReprism/languages/glsl.py +0 -0
- PyReprism/languages/go.py +53 -0
- PyReprism/languages/graphql.py +50 -0
- PyReprism/languages/groovy.py +53 -0
- PyReprism/languages/haml.py +50 -0
- PyReprism/languages/handlebars.py +0 -0
- PyReprism/languages/haskell.py +53 -0
- PyReprism/languages/haxe.py +0 -0
- PyReprism/languages/hpkp.py +0 -0
- PyReprism/languages/hsts.py +0 -0
- PyReprism/languages/html.py +50 -0
- PyReprism/languages/ichigojam.py +0 -0
- PyReprism/languages/icon.py +0 -0
- PyReprism/languages/inform7.py +0 -0
- PyReprism/languages/ini.py +41 -0
- PyReprism/languages/io.py +0 -0
- PyReprism/languages/j.py +50 -0
- PyReprism/languages/java.py +53 -0
- PyReprism/languages/javascript.py +53 -0
- PyReprism/languages/jolie.py +50 -0
- PyReprism/languages/json.py +50 -0
- PyReprism/languages/jsx.py +53 -0
- PyReprism/languages/julia.py +53 -0
- PyReprism/languages/keyman.py +0 -0
- PyReprism/languages/kotlin.py +53 -0
- PyReprism/languages/latex.py +50 -0
- PyReprism/languages/less.py +50 -0
- PyReprism/languages/liquid.py +49 -0
- PyReprism/languages/livescript.py +49 -0
- PyReprism/languages/lolcode.py +0 -0
- PyReprism/languages/lua.py +0 -0
- PyReprism/languages/makefile.py +50 -0
- PyReprism/languages/markdown.py +31 -0
- PyReprism/languages/markup.py +50 -0
- PyReprism/languages/markup_templating.py +0 -0
- PyReprism/languages/matlab.py +51 -0
- PyReprism/languages/mel.py +0 -0
- PyReprism/languages/mizar.py +0 -0
- PyReprism/languages/monkey.py +0 -0
- PyReprism/languages/n4js.py +50 -0
- PyReprism/languages/nasm.py +0 -0
- PyReprism/languages/nginx.py +50 -0
- PyReprism/languages/nim.py +0 -0
- PyReprism/languages/nix.py +0 -0
- PyReprism/languages/nsis.py +0 -0
- PyReprism/languages/objectivec.py +49 -0
- PyReprism/languages/ocaml.py +51 -0
- PyReprism/languages/opencl.py +0 -0
- PyReprism/languages/oz.py +0 -0
- PyReprism/languages/parigp.py +0 -0
- PyReprism/languages/parser.py +0 -0
- PyReprism/languages/pascal.py +49 -0
- PyReprism/languages/perl.py +53 -0
- PyReprism/languages/php.py +50 -0
- PyReprism/languages/php_extras.py +0 -0
- PyReprism/languages/plsql.py +0 -0
- PyReprism/languages/powershell.py +0 -0
- PyReprism/languages/processing.py +0 -0
- PyReprism/languages/prolog.py +51 -0
- PyReprism/languages/properties.py +0 -0
- PyReprism/languages/protobuf.py +0 -0
- PyReprism/languages/pug.py +0 -0
- PyReprism/languages/puppet.py +0 -0
- PyReprism/languages/pure.py +0 -0
- PyReprism/languages/python.py +54 -0
- PyReprism/languages/q.py +0 -0
- PyReprism/languages/qore.py +0 -0
- PyReprism/languages/r.py +0 -0
- PyReprism/languages/reason.py +0 -0
- PyReprism/languages/renpy.py +0 -0
- PyReprism/languages/rest.py +0 -0
- PyReprism/languages/rip.py +0 -0
- PyReprism/languages/roboconf.py +0 -0
- PyReprism/languages/ruby.py +50 -0
- PyReprism/languages/rust.py +52 -0
- PyReprism/languages/sas.py +0 -0
- PyReprism/languages/sass.py +0 -0
- PyReprism/languages/scala.py +53 -0
- PyReprism/languages/scheme.py +51 -0
- PyReprism/languages/scss.py +50 -0
- PyReprism/languages/smalltalk.py +51 -0
- PyReprism/languages/smarty.py +0 -0
- PyReprism/languages/soy.py +0 -0
- PyReprism/languages/stylus.py +52 -0
- PyReprism/languages/swift.py +52 -0
- PyReprism/languages/tcl.py +0 -0
- PyReprism/languages/textile.py +0 -0
- PyReprism/languages/tsx.py +52 -0
- PyReprism/languages/twig.py +0 -0
- PyReprism/languages/typescript.py +52 -0
- PyReprism/languages/vbnet.py +51 -0
- PyReprism/languages/velocity.py +52 -0
- PyReprism/languages/verilog.py +0 -0
- PyReprism/languages/vhdl.py +0 -0
- PyReprism/languages/vim.py +52 -0
- PyReprism/languages/visual_basic.py +52 -0
- PyReprism/languages/wasam.py +0 -0
- PyReprism/languages/xeora.py +0 -0
- PyReprism/languages/xojo.py +0 -0
- PyReprism/languages/yaml.py +53 -0
- PyReprism/utils/__init__.py +0 -0
- PyReprism/utils/extension.py +149 -0
- PyReprism/utils/normalizer.py +18 -0
- pyreprism-0.0.1.dist-info/METADATA +94 -0
- pyreprism-0.0.1.dist-info/RECORD +154 -0
- pyreprism-0.0.1.dist-info/WHEEL +4 -0
- pyreprism-0.0.1.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import re
|
|
2
|
+
from PyReprism.utils import extension
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Vim:
|
|
6
|
+
def __init__():
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
@staticmethod
|
|
10
|
+
def file_extension() -> str:
|
|
11
|
+
return extension.vim
|
|
12
|
+
|
|
13
|
+
@staticmethod
|
|
14
|
+
def keywords() -> list:
|
|
15
|
+
keyword = ''.split('|')
|
|
16
|
+
|
|
17
|
+
return keyword
|
|
18
|
+
|
|
19
|
+
@staticmethod
|
|
20
|
+
def comment_regex():
|
|
21
|
+
pattern = re.compile(r'(?P<comment>".*?$)|(?P<noncomment>[^"\n]*[^\n]*)', re.MULTILINE)
|
|
22
|
+
return pattern
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@staticmethod
|
|
26
|
+
def number_regex():
|
|
27
|
+
pattern = re.compile(r'')
|
|
28
|
+
return pattern
|
|
29
|
+
|
|
30
|
+
@staticmethod
|
|
31
|
+
def operator_regex():
|
|
32
|
+
pattern = re.compile(r'')
|
|
33
|
+
return pattern
|
|
34
|
+
|
|
35
|
+
@staticmethod
|
|
36
|
+
def keywords_regex():
|
|
37
|
+
return re.compile(r'\b(' + '|'.join(Vim.keywords()) + r')\b')
|
|
38
|
+
|
|
39
|
+
@staticmethod
|
|
40
|
+
def remove_comments(source_code: str, isList: bool = False) -> str:
|
|
41
|
+
result = []
|
|
42
|
+
for match in Vim.comment_regex().finditer(source_code):
|
|
43
|
+
if match.group('noncomment'):
|
|
44
|
+
result.append(match.group('noncomment'))
|
|
45
|
+
if isList:
|
|
46
|
+
return result
|
|
47
|
+
return ''.join(result)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@staticmethod
|
|
51
|
+
def remove_keywords(source: str):
|
|
52
|
+
return re.sub(re.compile(Vim.keywords_regex()), '', source)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import re
|
|
2
|
+
from PyReprism.utils import extension
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class VisualBasic:
|
|
6
|
+
def __init__():
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
@staticmethod
|
|
10
|
+
def file_extension() -> str:
|
|
11
|
+
return extension.visual_basic
|
|
12
|
+
|
|
13
|
+
@staticmethod
|
|
14
|
+
def keywords() -> list:
|
|
15
|
+
keyword = ''.split('|')
|
|
16
|
+
|
|
17
|
+
return keyword
|
|
18
|
+
|
|
19
|
+
@staticmethod
|
|
20
|
+
def comment_regex():
|
|
21
|
+
pattern = re.compile(r'(?P<comment>\'.*?$|REM.*?$)|(?P<noncomment>[^\'\nR]*[^\n]*)', re.MULTILINE | re.IGNORECASE)
|
|
22
|
+
return pattern
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@staticmethod
|
|
26
|
+
def number_regex():
|
|
27
|
+
pattern = re.compile(r'')
|
|
28
|
+
return pattern
|
|
29
|
+
|
|
30
|
+
@staticmethod
|
|
31
|
+
def operator_regex():
|
|
32
|
+
pattern = re.compile(r'')
|
|
33
|
+
return pattern
|
|
34
|
+
|
|
35
|
+
@staticmethod
|
|
36
|
+
def keywords_regex():
|
|
37
|
+
return re.compile(r'\b(' + '|'.join(VisualBasic.keywords()) + r')\b')
|
|
38
|
+
|
|
39
|
+
@staticmethod
|
|
40
|
+
def remove_comments(source_code: str, isList: bool = False) -> str:
|
|
41
|
+
result = []
|
|
42
|
+
for match in VisualBasic.comment_regex().finditer(source_code):
|
|
43
|
+
if match.group('noncomment'):
|
|
44
|
+
result.append(match.group('noncomment'))
|
|
45
|
+
if isList:
|
|
46
|
+
return result
|
|
47
|
+
return ''.join(result)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@staticmethod
|
|
51
|
+
def remove_keywords(source: str):
|
|
52
|
+
return re.sub(re.compile(VisualBasic.keywords_regex()), '', source)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import re
|
|
2
|
+
from PyReprism.utils import extension
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Yaml:
|
|
6
|
+
def __init__():
|
|
7
|
+
pass
|
|
8
|
+
|
|
9
|
+
@staticmethod
|
|
10
|
+
def file_extension() -> str:
|
|
11
|
+
return extension.yaml
|
|
12
|
+
|
|
13
|
+
@staticmethod
|
|
14
|
+
def keywords() -> list:
|
|
15
|
+
keyword = ''.split('|')
|
|
16
|
+
|
|
17
|
+
return keyword
|
|
18
|
+
|
|
19
|
+
@staticmethod
|
|
20
|
+
def comment_regex():
|
|
21
|
+
pattern = re.compile(r'(?P<comment>#.*?$)|(?P<noncomment>[^#\n]*[^\n]*)', re.MULTILINE)
|
|
22
|
+
return pattern
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
@staticmethod
|
|
26
|
+
def number_regex():
|
|
27
|
+
pattern = re.compile(r'')
|
|
28
|
+
return pattern
|
|
29
|
+
|
|
30
|
+
@staticmethod
|
|
31
|
+
def operator_regex():
|
|
32
|
+
pattern = re.compile(r'')
|
|
33
|
+
return pattern
|
|
34
|
+
|
|
35
|
+
@staticmethod
|
|
36
|
+
def keywords_regex():
|
|
37
|
+
return re.compile(r'\b(' + '|'.join(Yaml.keywords()) + r')\b')
|
|
38
|
+
|
|
39
|
+
@staticmethod
|
|
40
|
+
def remove_comments(source_code: str, isList: bool = False) -> str:
|
|
41
|
+
result = []
|
|
42
|
+
for match in Yaml.comment_regex().finditer(source_code):
|
|
43
|
+
if match.group('noncomment'):
|
|
44
|
+
result.append(match.group('noncomment'))
|
|
45
|
+
if isList:
|
|
46
|
+
return result
|
|
47
|
+
return ''.join(result)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@staticmethod
|
|
51
|
+
def remove_keywords(source: str):
|
|
52
|
+
return re.sub(re.compile(Yaml.keywords_regex()), '', source)
|
|
53
|
+
|
|
File without changes
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
abap: str = "xxxxx"
|
|
2
|
+
actionscript: str = "xxxxx"
|
|
3
|
+
ada: str = ".ada"
|
|
4
|
+
apacheconf: str = "xxxxx"
|
|
5
|
+
apl: str = "xxxxx"
|
|
6
|
+
applescript: str = "xxxxx"
|
|
7
|
+
arduino: str = "xxxxx"
|
|
8
|
+
arff: str = "xxxxx"
|
|
9
|
+
asciidoc: str = "xxxxx"
|
|
10
|
+
asm6502: str = "xxxxx"
|
|
11
|
+
aspnet: str = ".asp"
|
|
12
|
+
autohotkey: str = "xxxxx"
|
|
13
|
+
autoit: str = "xxxxx"
|
|
14
|
+
bash: str = ".sh"
|
|
15
|
+
basic: str = "xxxxx"
|
|
16
|
+
batch: str = "xxxxx"
|
|
17
|
+
bison: str = "xxxxx"
|
|
18
|
+
brainfuck: str = "xxxxx"
|
|
19
|
+
bro: str = "xxxxx"
|
|
20
|
+
c: str = ".c"
|
|
21
|
+
clike: str = "xxxxx"
|
|
22
|
+
clojure: str = "xxxxx"
|
|
23
|
+
coffeescript: str = "xxxxx"
|
|
24
|
+
cpp: str = ".cpp"
|
|
25
|
+
crystal: str = "xxxxx"
|
|
26
|
+
csharp: str = ".csharp"
|
|
27
|
+
csp: str = "xxxxx"
|
|
28
|
+
css_extras: str = "xxxxx"
|
|
29
|
+
css: str = ".css"
|
|
30
|
+
d: str = "xxxxx"
|
|
31
|
+
dart: str = ".dart"
|
|
32
|
+
diff: str = ".diff"
|
|
33
|
+
django: str = "xxxxx"
|
|
34
|
+
docker: str = "xxxxx"
|
|
35
|
+
eiffel: str = "xxxxx"
|
|
36
|
+
elixir: str = "xxxxx"
|
|
37
|
+
erb: str = "xxxxx"
|
|
38
|
+
erlang: str = "xxxxx"
|
|
39
|
+
flow: str = "xxxxx"
|
|
40
|
+
fortran: str = "xxxxx"
|
|
41
|
+
fsharp: str = "xxxxx"
|
|
42
|
+
gedcom: str = "xxxxx"
|
|
43
|
+
gherkin: str = "xxxxx"
|
|
44
|
+
git: str = ".git"
|
|
45
|
+
glsl: str = "xxxxx"
|
|
46
|
+
go: str = ".go"
|
|
47
|
+
graphql: str = "xxxxx"
|
|
48
|
+
groovy: str = ".groovy"
|
|
49
|
+
haml: str = "xxxxx"
|
|
50
|
+
handlebars: str = "xxxxx"
|
|
51
|
+
haskell: str = "xxxxx"
|
|
52
|
+
haxe: str = "xxxxx"
|
|
53
|
+
hpkp: str = "xxxxx"
|
|
54
|
+
hsts: str = "xxxxx"
|
|
55
|
+
html: str = "xxxxx"
|
|
56
|
+
http: str = "xxxxx"
|
|
57
|
+
ichigojam: str = "xxxxx"
|
|
58
|
+
icon: str = "xxxxx"
|
|
59
|
+
inform7: str = "xxxxx"
|
|
60
|
+
ini: str = ".ini"
|
|
61
|
+
io: str = ".io"
|
|
62
|
+
ipynd: str = ".ipynd"
|
|
63
|
+
j: str = ".j"
|
|
64
|
+
java: str = ".java"
|
|
65
|
+
javascript: str = ".js"
|
|
66
|
+
jolie: str = "xxxxx"
|
|
67
|
+
json: str = ".json"
|
|
68
|
+
jsx: str = ".jsx"
|
|
69
|
+
julia: str = ".julia"
|
|
70
|
+
keyman: str = "xxxxx"
|
|
71
|
+
kotlin: str = ".kt"
|
|
72
|
+
latex: str = "xxxxx"
|
|
73
|
+
less: str = ".less"
|
|
74
|
+
liquid: str = "xxxxx"
|
|
75
|
+
lisp: str = "xxxxx"
|
|
76
|
+
livescript: str = "xxxxx"
|
|
77
|
+
lolcode: str = "xxxxx"
|
|
78
|
+
lua: str = "xxxxx"
|
|
79
|
+
makefile: str = "xxxxx"
|
|
80
|
+
markdown: str = ".md"
|
|
81
|
+
markup_templating: str = "xxxxx"
|
|
82
|
+
markup: str = ".xml"
|
|
83
|
+
matlab: str = "xxxxx"
|
|
84
|
+
mel: str = "xxxxx"
|
|
85
|
+
mizar: str = "xxxxx"
|
|
86
|
+
monkey: str = "xxxxx"
|
|
87
|
+
n4js: str = "xxxxx"
|
|
88
|
+
nasm: str = "xxxxx"
|
|
89
|
+
nginx: str = "xxxxx"
|
|
90
|
+
nim: str = "xxxxx"
|
|
91
|
+
nix: str = "xxxxx"
|
|
92
|
+
nsis: str = "xxxxx"
|
|
93
|
+
objectivec: str = "xxxxx"
|
|
94
|
+
ocaml: str = ".ocaml"
|
|
95
|
+
opencl: str = "xxxxx"
|
|
96
|
+
oz: str = "xxxxx"
|
|
97
|
+
parigp: str = "xxxxx"
|
|
98
|
+
parser: str = "xxxxx"
|
|
99
|
+
pascal: str = "xxxxx"
|
|
100
|
+
perl: str = ".pl"
|
|
101
|
+
php_extras: str = "xxxxx"
|
|
102
|
+
php: str = ".php"
|
|
103
|
+
plsql: str = "xxxxx"
|
|
104
|
+
powershell: str = "xxxxx"
|
|
105
|
+
processing: str = "xxxxx"
|
|
106
|
+
prolog: str = "xxxxx"
|
|
107
|
+
properties: str = ".properties"
|
|
108
|
+
protobuf: str = "xxxxx"
|
|
109
|
+
pug: str = "xxxxx"
|
|
110
|
+
puppet: str = "xxxxx"
|
|
111
|
+
pure: str = "xxxxx"
|
|
112
|
+
python: str = ".py"
|
|
113
|
+
q: str = "xxxxx"
|
|
114
|
+
qore: str = "xxxxx"
|
|
115
|
+
r: str = "xxxxx"
|
|
116
|
+
reason: str = "xxxxx"
|
|
117
|
+
renpy: str = "xxxxx"
|
|
118
|
+
rest: str = "xxxxx"
|
|
119
|
+
rip: str = "xxxxx"
|
|
120
|
+
roboconf: str = "xxxxx"
|
|
121
|
+
ruby: str = ".rb"
|
|
122
|
+
rust: str = ".rs"
|
|
123
|
+
sas: str = ".sas"
|
|
124
|
+
sass: str = ".sass"
|
|
125
|
+
scala: str = ".scala"
|
|
126
|
+
scheme: str = ".rkt"
|
|
127
|
+
scss: str = ".scss"
|
|
128
|
+
smalltalk: str = "xxxxx"
|
|
129
|
+
smarty: str = "xxxxx"
|
|
130
|
+
soy: str = "xxxxx"
|
|
131
|
+
stylus: str = ".stylus"
|
|
132
|
+
swift: str = ".swift"
|
|
133
|
+
tcl: str = "xxxxx"
|
|
134
|
+
textile: str = "xxxxx"
|
|
135
|
+
tsx: str = ".tsx"
|
|
136
|
+
twig: str = "xxxxx"
|
|
137
|
+
typescript: str = ".ts"
|
|
138
|
+
vbnet: str = "xxxxx"
|
|
139
|
+
velocity: str = "xxxxx"
|
|
140
|
+
verilog: str = "xxxxx"
|
|
141
|
+
vhdl: str = "xxxxx"
|
|
142
|
+
vim: str = ".vim"
|
|
143
|
+
visual_basic: str = ".vb"
|
|
144
|
+
wasm: str = "xxxxx"
|
|
145
|
+
wiki: str = "xxxxx"
|
|
146
|
+
xeora: str = "xxxxx"
|
|
147
|
+
xojo: str = "xxxxx"
|
|
148
|
+
yaml: str = ".yaml"
|
|
149
|
+
yml: str = ".yml"
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import re
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
class Normalizer:
|
|
5
|
+
def __init__():
|
|
6
|
+
pass
|
|
7
|
+
|
|
8
|
+
@staticmethod
|
|
9
|
+
def whitespaces_regex ():
|
|
10
|
+
return re.compile(r'[\t\x0b\x0c\r ]+')
|
|
11
|
+
|
|
12
|
+
@staticmethod
|
|
13
|
+
def remove_whitespaces (source: str):
|
|
14
|
+
return re.sub(Normalizer.whitespaces_regex(), '', source)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: PyReprism
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Framework for Source Code Preprocessing
|
|
5
|
+
Project-URL: Homepage, https://github.com/unlv-evol/PyReprism
|
|
6
|
+
Project-URL: Issues, https://github.com/unlv-evol/PyReprism/issues
|
|
7
|
+
Author-email: UNLV EVOL LAB <ogenrwot@unlv.nevada.edu>
|
|
8
|
+
License: MIT License
|
|
9
|
+
|
|
10
|
+
Copyright (c) 2024 UNLV EVOL
|
|
11
|
+
|
|
12
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
13
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
14
|
+
in the Software without restriction, including without limitation the rights
|
|
15
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
16
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
17
|
+
furnished to do so, subject to the following conditions:
|
|
18
|
+
|
|
19
|
+
The above copyright notice and this permission notice shall be included in all
|
|
20
|
+
copies or substantial portions of the Software.
|
|
21
|
+
|
|
22
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
27
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
28
|
+
SOFTWARE.
|
|
29
|
+
License-File: LICENSE
|
|
30
|
+
Classifier: Development Status :: 4 - Beta
|
|
31
|
+
Classifier: Environment :: Console
|
|
32
|
+
Classifier: Intended Audience :: Developers
|
|
33
|
+
Classifier: Intended Audience :: Science/Research
|
|
34
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
+
Classifier: Operating System :: OS Independent
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
40
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
41
|
+
Requires-Python: >=3.6
|
|
42
|
+
Provides-Extra: dev
|
|
43
|
+
Requires-Dist: flake8; extra == 'dev'
|
|
44
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
45
|
+
Requires-Dist: pytest-cov; extra == 'dev'
|
|
46
|
+
Description-Content-Type: text/markdown
|
|
47
|
+
|
|
48
|
+
[](https://opensource.org/licenses/MIT)
|
|
49
|
+
|
|
50
|
+
# PyReprism
|
|
51
|
+
|
|
52
|
+
PyReprism is a suite of essential methods designed for common preprocessing tasks in code clone detection research.
|
|
53
|
+
|
|
54
|
+
## Install
|
|
55
|
+
```shell
|
|
56
|
+
pip install PyReprism
|
|
57
|
+
```
|
|
58
|
+
## Quick Usage
|
|
59
|
+
```python
|
|
60
|
+
|
|
61
|
+
from PyReprism.languages import Python
|
|
62
|
+
|
|
63
|
+
source = """
|
|
64
|
+
# single line comment
|
|
65
|
+
x = 5 + 6
|
|
66
|
+
'''
|
|
67
|
+
multiline
|
|
68
|
+
comment
|
|
69
|
+
'''
|
|
70
|
+
print(x)
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
source =''.join(Python.remove_comments(source))
|
|
74
|
+
```
|
|
75
|
+
Read the [docs]() for more usage examples.
|
|
76
|
+
|
|
77
|
+
## How to Contribute
|
|
78
|
+
|
|
79
|
+
```shell
|
|
80
|
+
git clone https://github.com/unlv-evol/PyReprism.git
|
|
81
|
+
cd PyReprism
|
|
82
|
+
```
|
|
83
|
+
**(Optional)** It is suggested to make use of virtualenv. Therefore, before installing the requirements run:
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
python3 -m venv venv
|
|
87
|
+
source venv/bin/activate
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Then, install the requirements:
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
pip install -r requirements.txt
|
|
94
|
+
```
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
PyReprism/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
PyReprism/languages/__init__.py,sha256=YbXxs9YaUzeA7Id2Wo7Lt0paX7Xae1eSkW3sNZ0r-Ic,3255
|
|
3
|
+
PyReprism/languages/_base.py,sha256=R84YdxeQpSzVTpLdoLj9Cwmv0ipWXR1bctf7MVkqtYI,462
|
|
4
|
+
PyReprism/languages/abap.py,sha256=yzFwfUf2g6pV7PyhpSePFwZf6wZhzCHhh7NSNfl8ajo,8718
|
|
5
|
+
PyReprism/languages/actionscript.py,sha256=pbvIKpG7z0BO3z1IQjvEIFWIZXQl2LCeeUK2yS6SiP0,1788
|
|
6
|
+
PyReprism/languages/ada.py,sha256=yVPxug8p77d3n2CDFhJ7L0n6BVl_dOEkBTiWd_5bFyg,1930
|
|
7
|
+
PyReprism/languages/apacheconf.py,sha256=RgYrq4lStyAnye8RRAlfxNRtQmaJI1LIt4Wi4B7GBUA,10701
|
|
8
|
+
PyReprism/languages/apl.py,sha256=nzy26_rKMT1HjkvSpq3ilvDFuS3OklJdKmA8c7VgrrM,1239
|
|
9
|
+
PyReprism/languages/applescript.py,sha256=G6DOuJC1vhvObaMIgvhJd6KL5xE04rT3Z_S0wg-xd9I,2485
|
|
10
|
+
PyReprism/languages/arduino.py,sha256=b0SywtzH5kUY3aSQyA3COsyt2jTjEaJHExQE7E6lP5A,5133
|
|
11
|
+
PyReprism/languages/arff.py,sha256=Rh6KBJOR0CzseI3mfQYP8RUF0xKbdGMji48pSjIzYTA,1297
|
|
12
|
+
PyReprism/languages/asciidoc.py,sha256=FBKfMiG2lhWdZ3NZDtwUdwfBAfJunI2atFwmQl8mobs,1314
|
|
13
|
+
PyReprism/languages/asm6502.py,sha256=W6s-YgpuraMOMhK7fubeGpzTaBthWpfPE4IPHuPyjqw,1254
|
|
14
|
+
PyReprism/languages/aspnet.py,sha256=fCepTy0as0g6NCImJoGPMZaZZl4GZeBrrR9KaZJxn7M,1437
|
|
15
|
+
PyReprism/languages/autohotkey.py,sha256=QuF8O2F46uLWlZf5rTYIIuo2YPTlZeT6A7bWZgBm8iU,4161
|
|
16
|
+
PyReprism/languages/autoit.py,sha256=JlBBgEqZcxd1hBn9T5ezdDU41RD76SbJUfINSE1cUrs,1639
|
|
17
|
+
PyReprism/languages/bash.py,sha256=k8GgrIVZWmsUcOpYBI7ij19_NRqn8QSGOB5vWIbdVpw,1466
|
|
18
|
+
PyReprism/languages/basic.py,sha256=txQBYd_Sx26Zj2YJkVFiAciAOSpEoniFy7-xzeCkCjI,2861
|
|
19
|
+
PyReprism/languages/batch.py,sha256=jZwpQxOrFpf1aM_KksaS5yw3dMwVdBlpi7kFWv0foB0,1395
|
|
20
|
+
PyReprism/languages/bison.py,sha256=zF-l4Gu7KOqMXZwP8-QBUdRkP4jxuUTwbZo9D_2aim8,1338
|
|
21
|
+
PyReprism/languages/brainfuck.py,sha256=08P1CDJA93LEUPHM1oJd4-DyCBDM6a1JEjcVwk45su8,1286
|
|
22
|
+
PyReprism/languages/bro.py,sha256=UxaZbicphOm6ecnv2vWvRS-e-dpcD-n3KyBz2z29ssI,1896
|
|
23
|
+
PyReprism/languages/c.py,sha256=S1Ts79420mBQZhmbun51SIBZTOqvuwV41R_x60NkO_Y,1970
|
|
24
|
+
PyReprism/languages/clike.py,sha256=yHS6U0NCipAmwJKjKBoFwFDXbwpf7NA6e8817Upk-ug,1628
|
|
25
|
+
PyReprism/languages/clojure.py,sha256=aGDc-cAipGCz9QyH2xGOuOIbHthYI1CGsGj2p_tsB7k,3864
|
|
26
|
+
PyReprism/languages/coffeescript.py,sha256=7oTuK6akqFA2ZoRBwByd97xRCchj4UySdtiLjKP-QOU,1621
|
|
27
|
+
PyReprism/languages/cpp.py,sha256=XgMNRQccFj8juYtbmgiOVHTDbtWPoZaERCFGIYMMOIQ,2152
|
|
28
|
+
PyReprism/languages/crystal.py,sha256=KLjwwIw-zU-CVDUJS5jNx4D6HY7aLOiiz94GO6HRTK0,1817
|
|
29
|
+
PyReprism/languages/csharp.py,sha256=5QWhCV5ZEkoMg532E9_jzvnIjvNm3jWDy38RGZ0dnWA,2207
|
|
30
|
+
PyReprism/languages/csp.py,sha256=RsMHnrGHoKdZMu7thsLMYrYwsvunKzflUdUNhTl4fec,1583
|
|
31
|
+
PyReprism/languages/css.py,sha256=krat8IZTHvajSr5ErcAytc1srasIL_QKCcCbz7ncRtw,1293
|
|
32
|
+
PyReprism/languages/css_extras.py,sha256=uL0ZXzUgh9AVZVaNBH-3vfNjKt_Vms794utNWB3V_0w,1324
|
|
33
|
+
PyReprism/languages/d.py,sha256=_tnVRiXdRkCgURNIXBwGGHQUPgPe8k3OxfpojyYZ9Ic,2326
|
|
34
|
+
PyReprism/languages/dart.py,sha256=Cr-dL9q64J729AAeKyBhVB_k3952z56voeJxVedMCWs,1801
|
|
35
|
+
PyReprism/languages/diff.py,sha256=VenOdMcYr2VvBK1Q1m2kBMTh-z11qR8bECRJW8UGZvg,1261
|
|
36
|
+
PyReprism/languages/django.py,sha256=45B6030O1WcKqi80OAeHyRQ57MZ7ou7v4U95lF_rfws,2577
|
|
37
|
+
PyReprism/languages/docker.py,sha256=x43XObS9EkWJmsx5vc10E3wN_VrpcUW4cgf9ScwFrSo,1360
|
|
38
|
+
PyReprism/languages/eiffel.py,sha256=cj5p4xB8LvzlisLEXHE_zqJItZd68Ob7Yct4Ay9SI3c,1848
|
|
39
|
+
PyReprism/languages/elixir.py,sha256=PKT3uxwbNMiPaJp0b4GP5VGu7wF8CnouDdDm29037hc,1324
|
|
40
|
+
PyReprism/languages/erb.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
41
|
+
PyReprism/languages/erlang.py,sha256=QkVoXIfwBWK97YEmE9s78yqoHBvB_AbYhCn3x516H-I,1273
|
|
42
|
+
PyReprism/languages/flow.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
|
+
PyReprism/languages/fortran.py,sha256=tkH_bagaT9E0-SFFG9lU6LrntDRD6WbkKEJsWydjpCc,1936
|
|
44
|
+
PyReprism/languages/fsharp.py,sha256=IZ7be9EXhaKzvry3XnP3fIkOdeLK0iptDG7PBSog8l8,1321
|
|
45
|
+
PyReprism/languages/gedcom.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
|
+
PyReprism/languages/gherkin.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
47
|
+
PyReprism/languages/git.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
48
|
+
PyReprism/languages/glsl.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
|
+
PyReprism/languages/go.py,sha256=RW1OX4TwMohYwH1prRsoB_ecCZppOiAPA1NfXTxu-o8,1868
|
|
50
|
+
PyReprism/languages/graphql.py,sha256=Qv_pWNS_3CS6OeyPt5WVqanFGp4ee-bEkEm_8DYAPrg,1275
|
|
51
|
+
PyReprism/languages/groovy.py,sha256=QuYDKUmePwtIU2M1THJIChxWzWsildzyDCwG_B5bt9Y,2007
|
|
52
|
+
PyReprism/languages/haml.py,sha256=V4-yYOnnlGO3gc9v_7SrQaHJ0cJBDY5wbqZk6y6gzSA,1302
|
|
53
|
+
PyReprism/languages/handlebars.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
54
|
+
PyReprism/languages/haskell.py,sha256=RqdfJ6cgw7ERF7Eu9_BafvCKwB5EpR6xcETgPU5qNis,3368
|
|
55
|
+
PyReprism/languages/haxe.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
56
|
+
PyReprism/languages/hpkp.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
57
|
+
PyReprism/languages/hsts.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
58
|
+
PyReprism/languages/html.py,sha256=r50lxmQhNdiDaGVsor8zEl9F5gCubLLopizPIwOu8_4,1284
|
|
59
|
+
PyReprism/languages/ichigojam.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
60
|
+
PyReprism/languages/icon.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
61
|
+
PyReprism/languages/inform7.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
62
|
+
PyReprism/languages/ini.py,sha256=o1IIwsZtboOuIHr2QD70YWbduucrf4SN8t7fh5V_ve4,792
|
|
63
|
+
PyReprism/languages/io.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
64
|
+
PyReprism/languages/j.py,sha256=FM1ROgcKPHSputeac_mdYMgcPgfwywZNcslCLYUkAX0,1248
|
|
65
|
+
PyReprism/languages/java.py,sha256=lJ8rHGOqontrbBjIVRLCtLFXe2mTdMzxApC2oc98Q6E,1865
|
|
66
|
+
PyReprism/languages/javascript.py,sha256=0jBPLG-sPwZBrGusmABUYIP2XpOObpMVBt4agN3GkaY,1889
|
|
67
|
+
PyReprism/languages/jolie.py,sha256=7gpDkZwkVavHGHpI4caklznt1Fj5jA8-xPWXRLzfzs8,1313
|
|
68
|
+
PyReprism/languages/json.py,sha256=Z74930e2_6BBOto81RMH72sm9tbgt5Pl4fN3vCQHKWQ,1308
|
|
69
|
+
PyReprism/languages/jsx.py,sha256=GIlJiGjmZ-hK-lffUVTGfn2hB54MWvH4oJY7xnWIS9Q,1887
|
|
70
|
+
PyReprism/languages/julia.py,sha256=frI18KhHoc392Wsl-CxsAiCASkPKqy-lOMXtoSP0Qa4,1759
|
|
71
|
+
PyReprism/languages/keyman.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
72
|
+
PyReprism/languages/kotlin.py,sha256=XNbpUOcEmr6mZVL2YR1_VIkGSV663q3ocsQOckH_lYA,1877
|
|
73
|
+
PyReprism/languages/latex.py,sha256=hxvKeoLUxjiKJSzANNXAmA6G_EaJH9bdfinM_9ziijU,1269
|
|
74
|
+
PyReprism/languages/less.py,sha256=8FK_NyS26WRKwtZgszu5OKxJyD5JEvzlBjdUuVwse60,1298
|
|
75
|
+
PyReprism/languages/liquid.py,sha256=buK85yHtsqMpc7CpHSCgcHJxnSxdm6-lpqVGi_5Bn1Y,1312
|
|
76
|
+
PyReprism/languages/livescript.py,sha256=IwQe8cQxCpHCQsmuRW4rnYNGN2dT5LQxAxkinpCDjUM,1335
|
|
77
|
+
PyReprism/languages/lolcode.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
78
|
+
PyReprism/languages/lua.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
79
|
+
PyReprism/languages/makefile.py,sha256=5nNy9Aisp6HfR-mF4d96KZ08X2Jmuh2pGaD7e-7YKrs,1284
|
|
80
|
+
PyReprism/languages/markdown.py,sha256=k6UETnCsPNjpIfrgiuyC6znJI-D3qVdlKTB-2vwOdSg,761
|
|
81
|
+
PyReprism/languages/markup.py,sha256=j7_wim_5AUz62LnMKAHBo7LU_XlLFIubRIcgmy5qMHI,1328
|
|
82
|
+
PyReprism/languages/markup_templating.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
83
|
+
PyReprism/languages/matlab.py,sha256=5ihniFW59Inj8z_mbF9dlwePa5GRA8Z6Xiy1VQXx5hY,1540
|
|
84
|
+
PyReprism/languages/mel.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
|
+
PyReprism/languages/mizar.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
|
+
PyReprism/languages/monkey.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
87
|
+
PyReprism/languages/n4js.py,sha256=jMNsEU_-kdtO8YLTosUR6z2ZqwGm5n3nWwODT4clCSw,1298
|
|
88
|
+
PyReprism/languages/nasm.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
89
|
+
PyReprism/languages/nginx.py,sha256=SofUcjCespLS2K0StVTMvRbb6z5KzoETnWbundjWUtw,1269
|
|
90
|
+
PyReprism/languages/nim.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
|
+
PyReprism/languages/nix.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
92
|
+
PyReprism/languages/nsis.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
93
|
+
PyReprism/languages/objectivec.py,sha256=sI5_JjqzNjmqMi_KnB13evoIludrecT9BNZhIIFoGZE,1838
|
|
94
|
+
PyReprism/languages/ocaml.py,sha256=b70wgr_TxuP1bsThKlvezaovlZaGvkgLghExpAl8H5I,1302
|
|
95
|
+
PyReprism/languages/opencl.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
96
|
+
PyReprism/languages/oz.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
|
+
PyReprism/languages/parigp.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
98
|
+
PyReprism/languages/parser.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
99
|
+
PyReprism/languages/pascal.py,sha256=Yu7oiur51yzhzR4DndV0_P0QFQ6K0nDARIljOSviE1U,2458
|
|
100
|
+
PyReprism/languages/perl.py,sha256=HZDxD16rKl2IXhktwUE8sUgpJONsdcJXVcLnNH1mk9U,1851
|
|
101
|
+
PyReprism/languages/php.py,sha256=uOOaa9q-JziEVcs92XN8WMEi3AMhe5pb682i6EdRcpg,1961
|
|
102
|
+
PyReprism/languages/php_extras.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
103
|
+
PyReprism/languages/plsql.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
104
|
+
PyReprism/languages/powershell.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
105
|
+
PyReprism/languages/processing.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
+
PyReprism/languages/prolog.py,sha256=Ws85vSGdD3TpIbIwVOHCBJ2_42zprSZvW0OBuBQ4X5U,1327
|
|
107
|
+
PyReprism/languages/properties.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
108
|
+
PyReprism/languages/protobuf.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
109
|
+
PyReprism/languages/pug.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
110
|
+
PyReprism/languages/puppet.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
111
|
+
PyReprism/languages/pure.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
112
|
+
PyReprism/languages/python.py,sha256=0pSqZ_2Nda1CAVJK0a9ege246gEvjrHT01Duc0YaV-o,2639
|
|
113
|
+
PyReprism/languages/q.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
114
|
+
PyReprism/languages/qore.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
|
+
PyReprism/languages/r.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
116
|
+
PyReprism/languages/reason.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
117
|
+
PyReprism/languages/renpy.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
118
|
+
PyReprism/languages/rest.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
119
|
+
PyReprism/languages/rip.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
120
|
+
PyReprism/languages/roboconf.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
121
|
+
PyReprism/languages/ruby.py,sha256=a3k_Dmw0sxduBo3yWSBtmhK_-rLYnwQxP8n8b7NvSFQ,1845
|
|
122
|
+
PyReprism/languages/rust.py,sha256=q2h7UwToHoE5fGwJ4CcabASyepC6VMV_ADLwT33zOjU,1842
|
|
123
|
+
PyReprism/languages/sas.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
124
|
+
PyReprism/languages/sass.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
125
|
+
PyReprism/languages/scala.py,sha256=FPT3O6_YW1cSpXWJJkZFXcybEM5Uh9uRxPx-6IpfYOY,1824
|
|
126
|
+
PyReprism/languages/scheme.py,sha256=xI_l7Y1F8jYoyV7G4C44idniralqdkeebGibBNMDpfs,1324
|
|
127
|
+
PyReprism/languages/scss.py,sha256=psnso_Ik0t9IHm4ltze5IPpmwEB_vST0t8BA4kLd67w,1298
|
|
128
|
+
PyReprism/languages/smalltalk.py,sha256=g11vh4dIz7dx2Lc2G9YaynjzkM07odwshtXBmfmTPQQ,1317
|
|
129
|
+
PyReprism/languages/smarty.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
130
|
+
PyReprism/languages/soy.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
131
|
+
PyReprism/languages/stylus.py,sha256=Oq4tPgy_QqMRJHYtxtjqTnLUBaQnFsFbfPrK4o42Ynw,1325
|
|
132
|
+
PyReprism/languages/swift.py,sha256=2THMmaLXwemyoMJBCYRb_x0faFZejYmmxHwZ4fyldUA,1322
|
|
133
|
+
PyReprism/languages/tcl.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
134
|
+
PyReprism/languages/textile.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
135
|
+
PyReprism/languages/tsx.py,sha256=TvS8opEbUAeqIHI9N2x7b3AMWjwP6SdUMv7WdHCiRYY,1953
|
|
136
|
+
PyReprism/languages/twig.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
137
|
+
PyReprism/languages/typescript.py,sha256=IvrtTsfZ4dOe3LWuNHeCW7vIkWb6P7KsvL8GuBve0IQ,1988
|
|
138
|
+
PyReprism/languages/vbnet.py,sha256=7dyE9wcGh5_XEykSOMTPFvT4ovaEyHa17ewUVq5Xnv8,1274
|
|
139
|
+
PyReprism/languages/velocity.py,sha256=QluPYEjh3f_ZuUjuieOlEDICABJMzgid2lIjcL1M-l8,1335
|
|
140
|
+
PyReprism/languages/verilog.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
141
|
+
PyReprism/languages/vhdl.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
142
|
+
PyReprism/languages/vim.py,sha256=PbufI9QUoQERVkzlAq1TIn03UtKZ6r5jAjt8_BbRSo4,1268
|
|
143
|
+
PyReprism/languages/visual_basic.py,sha256=RzII40sNCXG8l8aPTERWtru7u-YPagSMpnBkuOD8Its,1336
|
|
144
|
+
PyReprism/languages/wasam.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
145
|
+
PyReprism/languages/xeora.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
146
|
+
PyReprism/languages/xojo.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
147
|
+
PyReprism/languages/yaml.py,sha256=Fr5dgeeC6d1xmuyEASf4F6vA-SaSHtaCbMkquzni_q4,1279
|
|
148
|
+
PyReprism/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
149
|
+
PyReprism/utils/extension.py,sha256=jns7kgPevxQQvGhOF0cHsXiN8zAWV7YGZgrOKxTTTnM,3172
|
|
150
|
+
PyReprism/utils/normalizer.py,sha256=6e-fo2iWWpojL-mgwoOntD5PUqajzDH6EQKzrPW7Bk0,294
|
|
151
|
+
pyreprism-0.0.1.dist-info/METADATA,sha256=10oqKJzi5GkDY2YnW_5p7INEUq6kxmEkzHXwoNLf1m4,3136
|
|
152
|
+
pyreprism-0.0.1.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
153
|
+
pyreprism-0.0.1.dist-info/licenses/LICENSE,sha256=kgO1gbEZQTc1FQuRS_s2vR87_G_P50meE9cbCp0hw1I,1066
|
|
154
|
+
pyreprism-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 UNLV EVOL
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|