brownplt / pyret-lang

The Pyret language.
Other
1.07k stars 109 forks source link

-library and -module-load-dir flag don't do anything #958

Open awstlaur opened 7 years ago

awstlaur commented 7 years ago

Looking at pyret.arr, it seems like these flags don't do anything, except for -library incidentally implying -no-check-mode.

I assume they are remnants of the old module system.

jpolitz commented 7 years ago

Yup, they can be removed. -library is handled by the builtin locator implementation skipping some imports (so lists doesn't get imported into lists.arr and cause issues, for example), and -module-load-dir is replaced by -builtin-js-dir and -builtin-arr-dir.