mirror of
https://github.com/RGBCube/CSAssignments
synced 2025-07-25 04:57:43 +00:00
Start working on new interactive runner
This commit is contained in:
parent
1080941194
commit
38ba3af643
23 changed files with 202 additions and 15 deletions
9
sources/cpython/example/assignment.toml
Normal file
9
sources/cpython/example/assignment.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
name = "example"
|
||||
given-date = "3/11/2022"
|
||||
description = "This is an example entry for CPython"
|
||||
directions = """
|
||||
Print "Example" 10 times.
|
||||
"""
|
||||
|
||||
[compile]
|
||||
main-file = "example.py"
|
2
sources/cpython/example/example.py
Normal file
2
sources/cpython/example/example.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
for _ in range(10):
|
||||
print("Example")
|
14
sources/cpython/language.toml
Normal file
14
sources/cpython/language.toml
Normal file
|
@ -0,0 +1,14 @@
|
|||
name = "CPython"
|
||||
description = "Python is a high-level, general-purpose programming language"
|
||||
|
||||
[colors]
|
||||
foreground = 0xfed140
|
||||
background = 0x3670a0
|
||||
|
||||
[run]
|
||||
linux = "python3 {main-file}"
|
||||
windows = "py {main-file}"
|
||||
|
||||
[dependencies]
|
||||
linux = ["python3"]
|
||||
windows = ["py"]
|
Loading…
Add table
Add a link
Reference in a new issue