Commit Graph

19 Commits

Author SHA1 Message Date
K. Lange
2ab2f6e7eb just stop accepting escape, we don't even need it anyway 2021-01-02 18:05:53 +09:00
K. Lange
4cb692842c actually print an error when the interpreter is unable to open a file 2021-01-02 07:47:00 +09:00
K. Lange
4bde1125b4 (rline) fix minor uninitialized read in word_right 2021-01-01 19:18:19 +09:00
K. Lange
19e1665bc1 why does this keep being terrible 2021-01-01 19:06:30 +09:00
K. Lange
288544d4ed fix multiline past in line editor 2021-01-01 17:10:23 +09:00
K. Lange
ae2e2be15d do something more straightforward and useful for methods on non-objects 2021-01-01 16:02:16 +09:00
K. Lange
9a370f00e1 Add continue/break statements 2020-12-31 16:59:51 +09:00
K. Lange
764f9144f8 Add __base__, isinstance(), and track superclass in the VM and not just implicitly by super() calls. 2020-12-31 09:15:53 +09:00
K. Lange
bb7e49add7 (repl) fix delay issues from old getch() implementation 2020-12-30 22:29:45 +09:00
K. Lange
5c8d8942b1 make all classes inherit from object(), add __dir__ 2020-12-30 12:28:18 +09:00
K. Lange
1ae9828570 export should be able to take multiple arguments; fix resolution bug when export statement does not follow object to be exported 2020-12-30 10:19:52 +09:00
K. Lange
267c7b5650 rudimentary character literal, specifically for bim syntax [sorry if you like single-quote strings in python] 2020-12-29 21:29:15 +09:00
K. Lange
a0d52a61f2 add an exception mechanism 2020-12-29 11:00:12 +09:00
K. Lange
2432135b15 clean up repl highlighter 2020-12-28 21:31:46 +09:00
K. Lange
b3ad2e1f22 Second pass at cleaning up built-ins 2020-12-28 19:26:01 +09:00
K Lange
5a5c597033 little repl improvements 2020-12-28 11:25:42 +09:00
K Lange
ac15ca117c Clean up some pedantic warning stuff 2020-12-28 11:11:50 +09:00
K. Lange
0f508c38dc Add support for iterators 2020-12-28 13:35:02 +09:00
K. Lange
1bae2060eb add fancy repl 2020-12-28 11:37:38 +09:00