Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lambda calculus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
stijn en pjotr
lambda calculus
Commits
2fb0cc49
Commit
2fb0cc49
authored
2 years ago
by
2269767
Browse files
Options
Downloads
Patches
Plain Diff
Werkte niks van en was een slecht idee
parent
38260ba2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fromstring.py
+0
-26
0 additions, 26 deletions
fromstring.py
with
0 additions
and
26 deletions
fromstring.py
deleted
100644 → 0
+
0
−
26
View file @
38260ba2
def
fromstring
(
string
):
uitkomst
=
''
close
=
0
string
=
[
x
for
x
in
string
]
waitcheck
=
True
check
=
True
print
(
string
)
for
i
in
range
(
len
(
string
)):
if
string
[
i
]
==
'
'
:
pass
elif
string
[
i
]
==
"
\\
"
:
uitkomst
+=
'
Abstraction(
'
close
+=
1
elif
string
[
i
]
==
"
.
"
:
waitcheck
=
False
else
:
if
check
and
i
>
1
:
uitkomst
+=
f
"
Abstraction(
"
close
+=
1
uitkomst
+=
f
"
Variable(
'
{
string
[
i
]
}
'
),
"
if
not
waitcheck
:
check
=
False
uitkomst
=
uitkomst
[:
-
2
]
uitkomst
+=
close
*
"
)
"
print
(
uitkomst
)
fromstring
(
r
"
\a b. a
"
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment