Commit Graph

81 Commits

Author SHA1 Message Date
K. Lange
0599ad0775 Replace Makefile.static with a complicated combination of config options 2021-01-08 20:26:29 +09:00
K. Lange
8f9c1a4c1d Switch C-style loops to semicolons before I regret having used commas 2021-01-08 17:14:42 +09:00
K. Lange
f21a959b14 Add instructions for static builds 2021-01-08 12:12:44 +09:00
K. Lange
cdd3272d0e Accept tabs as being equivalent to eight spaces, but no mixing on a single line 2021-01-08 07:05:33 +09:00
K Lange
a1fbaecabd Readme and doc updates 2021-01-07 22:45:52 +09:00
K Lange
f9832be57c Typos and such 2021-01-07 20:42:25 +09:00
K. Lange
902d2222b5 Make modules work like in Python. TODO: module class for better repring 2021-01-07 09:50:58 +09:00
K Lange
ff8ed02ebd Make print() a function before it's too late 2021-01-04 23:34:10 +09:00
K. Lange
ce7f74cd03 Clean up README, update some exceptions, add notes on *args and **kwargs 2021-01-03 22:36:41 +09:00
K. Lange
e542b191e0 Another README section 2021-01-03 12:40:00 +09:00
K. Lange
76e70b79d0 Add default argument values.
Unlike in Python, I'm taking the approach of evaluating these at function
call time rather than definition time. Assigning things like empty lists/dicts
to default arguments has always been a ridiculous thing in Python, and I don't
want to make that mistake. I'm pretty sure Python only continues to do that
because it was something they didn't want to break for backwards compatibility
reasons even in Python 3.
2021-01-03 12:32:04 +09:00
K. Lange
e46d753999 Basic support for keyword arguments when calling functions. 2021-01-03 12:09:41 +09:00
K. Lange
a4ba95d5ea basic types not being instances is entirely an implementation detail at this point 2021-01-03 09:37:43 +09:00
K. Lange
fa742d2ff9 redundant statement 2021-01-03 09:32:02 +09:00
K. Lange
93af369b8c Quietly pretend we didn't just do that different from Python for no reason 2021-01-03 09:29:09 +09:00
K. Lange
7d8dfa2ffe Add some descriptions of decorators and a note about differences from Python in the README 2021-01-03 09:20:11 +09:00
K. Lange
181e598b15 "as its name should imply" 2021-01-02 12:29:30 +09:00
K. Lange
ec9ced2b4a briefly mention character literals in README 2021-01-02 12:24:38 +09:00
K. Lange
f745f8ec15 Add rudimentary (native) file i/o module 2020-12-31 18:41:17 +09:00
K. Lange
4df8cd8673 Docs, and also make negative indexes work as expected for strings at least... 2020-12-31 18:40:38 +09:00
K. Lange
ede0e6e856 more README sections 2020-12-31 12:26:17 +09:00
K. Lange
90b8ba97dd fix closure example in README; needs 'let's 2020-12-31 07:58:33 +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
468136641f more README sections 2020-12-30 10:22:10 +09:00
K. Lange
e731eca802 implement list and dict expressions 2020-12-30 09:05:20 +09:00
K. Lange
428c368a75 Support optional arguments by tracking separate arities 2020-12-30 08:00:48 +09:00
K. Lange
edc963b014 reword README 2020-12-29 15:39:34 +09:00
K. Lange
54c3779938 fix up handling of exceptions in module imports 2020-12-29 13:19:22 +09:00
K. Lange
c91a861c99 Add some actually useful stuff to the readme 2020-12-29 12:51:31 +09:00
K. Lange
a1c8844292 Add screenshot of repl to README 2020-12-28 16:08:06 +09:00
K. Lange
f5d3cd24e0 meta stuff 2020-12-26 16:59:43 +09:00