cs121-team-panda / coconut-interpreter Goto Github PK
View Code? Open in Web Editor NEWCoconut Interpreter
Home Page: https://cs121-team-panda.github.io/coconut-interpreter/
License: MIT License
Coconut Interpreter
Home Page: https://cs121-team-panda.github.io/coconut-interpreter/
License: MIT License
A catch-all place for feedback collected during a user testing session, which can later be broken into separate issues.
Reviewer: Prof. Kate
Reviewer: Collin V., Jamie K.
no_tco
isReviewer: James R., Yucheng W.
no_tco
isReviewer: Chen P., Nelll W.
Reviewer: Evan H.
Reviewer: Luis H.
Reviewer: Nelll W.
Reviewer: Collin V., Jamie K.
Update README.md
app/app.py
app/static
app/templates
test_page_loads
in tests/test_interpreter.py
app/app.py
-> app/my_app.py
to support entry app functioncoconut()
method is too long'provide an option to choose what Coconut version to use (or even "coconut-develop")'
Plans:
I've been thinking about this and I think it might make sense to finally make a monorepo as we finish the project.
client
in root directory with the contents of https://github.com/cs121-team-panda/coconut-interpreter-reactcoconut-interpreter
README.md
accordinglyI'm sort of confused on how the code works on app.py. -bw
As a result, people will be able to see their code.
The easiest way to get AWS credit is through HMC, since Mudd is part of the AWS educate program. Here are the instructions for setting that up. If that doesn't work for some reason, let me know, and I'm still trying to figure this out, but I'll probably have you file an expense report on Coconut's Open Collective page.
Idea: a button or changing the color
Status: GREEN
Task:
Plans:
Probably use something from https://loading.io/ to show that the app is running after you click 'run'.
The following code:
'a'
produces an error since our separator expects a newline.
The program didn't handle the case when the compiler has a return code of something except 0.
'provide an option to show the user the compiled Python (without the header)'
Needed for Phase 2 presentations.
Progress: Green
Plans:
os
module in Python.'fix the "Mixed Content" message shown in the Chrome developer console'
Ideally I could do something where yarn start
would give me a backend that I am testing?
git clone
as initial steprequirements.txt
(Werkzeug to version 0.12)See here
"ideally with some pre-defined starting code"
and send to the group doing the tutorial once we're done
Status: Yellow
Plans:
It seems that Heroku is able to handle when 2 processes are invoked at the same time.
'provide a way to interrupt execution (as if you pressed Ctrl-C)'
Plans
Status: Yellow
Plans:
References:
Major security concerns for online compilers/interpreters are malicious codes submitted from users. In the current system, the code is evaluated on the server-side. From the server perspective, the server may happen to run the potentially malicious code. Some potential problems may arise, at least but not limited to:
os
moduleThere are two main ways of addressing this security concern: running code on client-side and on server-side.
Keypoints
Keypoints
Thoughts on this issue are very appreciated.
Need to return only traceback related to coconut's code.
Traceback (most recent call last):
File "/home/circleci/project/tests/test_interpreter.py", line 88, in test_error
assert ERR_OUTPUT in response.data
AssertionError
Stdout:
Finish compilation [5f1d2705-d2b3-4f34-84ee-b5bc1efaac56] to [5f1d2705-d2b3-4f34-84ee-b5bc1efaac56.py]
Error in running Coconut's code
Delete temp files 5f1d2705-d2b3-4f34-84ee-b5bc1efaac56 and 5f1d2705-d2b3-4f34-84ee-b5bc1efaac56.py
Output is
b'Traceback (most recent call last):\n File "5f1d2705-d2b3-4f34-84ee-b5bc1efaac56.py", line 638, in <module>\n 1 + "a"\nTypeError: unsupported operand type(s) for +: \'int\' and \'str\'\n'
E.g. a response such as
{
output: "hello, world"
}
This is in preparation to not have to refresh the page to run the code.
'nicely highlight Coconut-specific syntax (e.g. "match" or "case")'
Status: GREEN
Plans:
Prevent programs from taking arbitrarily large CPU or memory to compile.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.