K. Lange
|
132542c6ab
|
allow 'elif' for Python compatibility
|
2021-01-04 09:13:39 +09:00 |
|
K. Lange
|
8ef070bf94
|
Support 'from foo import bar, baz'
|
2021-01-04 07:47:05 +09:00 |
|
K. Lange
|
aa1c0c8e93
|
Support 'import foo as bar'
|
2021-01-04 07:39:00 +09:00 |
|
K. Lange
|
8ad29f7891
|
Ditch character literals and add single, triple strings
|
2021-01-03 14:09:45 +09:00 |
|
K. Lange
|
1242f2f10f
|
try to namespace everything
|
2021-01-01 16:58:13 +09:00 |
|
K. Lange
|
58132eedf8
|
Add binary operators
|
2021-01-01 08:55:39 +09:00 |
|
K. Lange
|
9a370f00e1
|
Add continue/break statements
|
2020-12-31 16:59:51 +09:00 |
|
K. Lange
|
33f7561076
|
List comprehensions, and several gc+scoping fixes along the way
|
2020-12-30 21:57:13 +09:00 |
|
K. Lange
|
5ff31e7d96
|
fix parse error line output for error tokens from scanner
|
2020-12-29 22:16:35 +09:00 |
|
K. Lange
|
4c651592f8
|
fix up some compiler eof stuff to make embedding more reasonable
|
2020-12-29 18:50:39 +09:00 |
|
K. Lange
|
c6e5c8c120
|
once again, completely redo the parsing for indentation so that we can have pretty syntax errors
|
2020-12-29 15:26:45 +09:00 |
|
K. Lange
|
32d7d6f666
|
fix scanner issue with EOF after indentation
|
2020-12-29 12:24:48 +09:00 |
|
K. Lange
|
a0d52a61f2
|
add an exception mechanism
|
2020-12-29 11:00:12 +09:00 |
|
K Lange
|
b32dde0431
|
add % operator
|
2020-12-28 16:32:27 +09:00 |
|
K. Lange
|
b3ad2e1f22
|
Second pass at cleaning up built-ins
|
2020-12-28 19:26:01 +09:00 |
|
K Lange
|
ac15ca117c
|
Clean up some pedantic warning stuff
|
2020-12-28 11:11:50 +09:00 |
|
K. Lange
|
1d3368861b
|
fix a bunch of compiler stuff
|
2020-12-28 12:16:44 +09:00 |
|
K. Lange
|
8f42695f36
|
Fix up repl
|
2020-12-28 10:54:25 +09:00 |
|
K. Lange
|
1f754ebc01
|
not exactly how modules work in Python, but, uh, good enough for us for now
|
2020-12-27 18:55:52 +09:00 |
|
K. Lange
|
076da0bc1e
|
remove temporary 'block' keyword
|
2020-12-27 10:58:36 +09:00 |
|
K. Lange
|
d90778c40c
|
fix totally broken hexadecimal constants
|
2020-12-27 10:19:44 +09:00 |
|
K. Lange
|
81e3e133c8
|
finish up chapter 24 (functions, calls, native bindings)
|
2020-12-27 09:33:28 +09:00 |
|
K. Lange
|
df7ca60bdf
|
and that's chapter 23...
|
2020-12-26 20:39:47 +09:00 |
|
K. Lange
|
aab01f01f7
|
Finish up chapter 22, local variables; fix up indentation-based scoping
|
2020-12-26 18:39:29 +09:00 |
|
K. Lange
|
928047f1db
|
Completed chapter 21, global variables
|
2020-12-26 16:53:15 +09:00 |
|
K. Lange
|
14aeea5f5b
|
through chapter 19 of Crafting Interpreters
|
2020-12-26 09:32:21 +09:00 |
|