brownplt / pyret-lang

The Pyret language.
Other
1.06k stars 106 forks source link

Using essentials2021 offline #1719

Open me-ch opened 7 months ago

me-ch commented 7 months ago

After installing the pyret-npm package, I tried running some of the code on chapter 3.1 of DCIC.

Compiling code with the use context essentials2021 line gave me the following error message:

Compiling worklist...Could not find builtin module essentials2021 in any of ./.pyret/compiled, /usr/lib/node_modules/pyret-npm/pyret-lang/build/phaseA/lib-compiled

I tried using essentials2020 instead but it looks like it does not define the circle, triangle, overlay, above, and rectangle methods

user706 commented 6 months ago

https://github.com/brownplt/pyret-lang/issues/1583#issuecomment-824494535

"At the moment, some of the libraries on code.pyret.org aren't supported offline, and image is one of them, so if you have import image or include image in your program, that would explain the issue."

Haha.

Those drunk pirates are letting you hang since November. I'm abandoning this sinking ship. Ahoy...

Them pirates can send me a letter in a bottle (or reply to my issue #1724), once they realize the importance of doing computing on your own computer and offline.