Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fja
eval
Commits
3d73847f
Commit
3d73847f
authored
Jun 08, 2021
by
Vladimír Štill
Browse files
evalweb: Drop .parser from imports
parent
1feddd15
Changes
3
Hide whitespace changes
Inline
Side-by-side
evalweb/evalweb.py
View file @
3d73847f
from
flask
import
Blueprint
,
render_template
,
request
from
flask_wtf
import
FlaskForm
# type: ignore
from
wtforms
import
RadioField
# type: ignore
from
lib.parsing
.parser
import
ParsingError
from
lib.parsing
import
ParsingError
from
evalweb.web_checker
import
WebChecker
,
Language
,
CompositeException
from
evalweb.examples
import
examples
,
convert_examples
from
typing
import
Optional
...
...
evalweb/examples.py
View file @
3d73847f
from
typing
import
Dict
,
Tuple
from
lib.parsing
.parser
import
Parser
from
lib.parsing
import
Parser
parser
=
Parser
()
examples
:
Dict
[
Tuple
[
str
,
str
],
Tuple
[
str
,
str
]]
=
{}
...
...
evalweb/web_checker.py
View file @
3d73847f
import
lib.reg
as
reg
from
lib.parsing
.parser
import
Parser
,
ParsingError
from
lib.parsing
import
Parser
,
ParsingError
from
lib.checker
import
transform
,
dfa_transform
,
nfa_transform
,
check_task
,
\
check_alphabets
from
typing
import
List
,
Optional
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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