Commit Graph
557 Commits
Author SHA1 Message Date
Windel Bouwman f7fc9a8020 Move min/max test snippets to own directory to pass current tests. 2018-10-18 23:22:45 +02:00
Windel Bouwman 46251d4aa1 Merge pull request #167 from azmeuk/builtins_unimplemented
Snippet showing unimplemented methods in builtin types
2018-10-18 23:03:48 +02:00
Windel Bouwman db38b4a4c5 Merge pull request #168 from azmeuk/repl
Minor repl fix
2018-10-18 23:02:15 +02:00
Windel Bouwman fb92b56e4a Merge pull request #171 from aeroaks/master
Added test for capitalize method to string
2018-10-18 23:01:31 +02:00
Akshay Verma 4da6c94602 Added test for capitalize method to string 2018-10-18 16:46:43 +02:00
Akshay Verma 8c04cb5dc3 Added tests for capitalize method to string 2018-10-18 16:25:27 +02:00
Akshay Verma fad493c79f Added capitalize method to string 2018-10-18 16:14:35 +02:00
Éloi Rivard 809e320ee3 Minor repl fix 2018-10-18 10:21:26 +02:00
Éloi Rivard 3f8116f434 Snippet showing unimplemented methods in builtin types 2018-10-17 22:09:01 +02:00
Windel Bouwman e334941728 Removal of Clone trait on ast nodes. Should reduce codesize somewhat. 2018-10-17 22:04:02 +02:00
Windel Bouwman 5707548436 Add set.add method 2018-10-17 21:08:46 +02:00
Windel Bouwman fca3e7a6ae Merge pull request #165 from azmeuk/membership
Membership test fixes, and set implementation
2018-10-17 20:25:33 +02:00
Windel Bouwman 96d35ad4f9 Generalize comprehensions for list, dict and set. 2018-10-17 20:10:26 +02:00
Éloi Rivard b18156ac21 Added set object membership test 2018-10-17 19:39:17 +02:00
Éloi Rivard 2f29798ced Fixed __contains__ comparison on lists, tuples and iter objects 2018-10-17 19:26:24 +02:00
Windel Bouwman a450c0e3da Add builtin type set 2018-10-17 17:14:46 +02:00
Windel Bouwman 77a4369b61 Merge pull request #164 from azmeuk/max
max and min snippets
2018-10-17 16:32:29 +02:00
Windel Bouwman 438bb45a74 Merge pull request #163 from azmeuk/membership
Basic membership implementation
2018-10-17 16:31:14 +02:00
Éloi Rivard abf113798f Added builtin max and min snippets 2018-10-17 14:06:25 +02:00
Éloi Rivard e415ee1fbf Basic membership implementation 2018-10-17 13:57:38 +02:00
Windel Bouwman 7f263d14f3 Implement multilevel list comprehensions 2018-10-17 13:28:52 +02:00
Windel Bouwman c9aa103cce Change target of for loops into single expression. 2018-10-17 13:12:04 +02:00
Windel Bouwman 6105a836ad Initial variant of list comprehensions 2018-10-17 12:05:10 +02:00
Windel Bouwman adfb750129 Added ternary if operator 2018-10-17 08:45:16 +02:00
Windel Bouwman c7b4984ae8 Merge pull request #161 from azmeuk/5>
Restored the 5> in the repl prompt
2018-10-16 23:30:49 +02:00
Windel Bouwman c4bdb63af0 Merge branch 'master' of https://github.com/RustPython/RustPython 2018-10-16 23:26:47 +02:00
Windel Bouwman 7728ee1e63 Minor change to keyword arguments in function call 2018-10-16 23:26:37 +02:00
Éloi Rivard ba9483d96c Restored the 5> in the repl prompt 2018-10-16 23:01:38 +02:00
Windel Bouwman de6fabfa1f Merge pull request #160 from azmeuk/repl
Basic repl based on rustyline
2018-10-16 22:02:04 +02:00
Windel Bouwman 50fdda4900 Merge pull request #154 from cgm616/builtins
Add max and min builtins
2018-10-16 21:52:17 +02:00
Windel Bouwman 950ef7e86f Merge branch 'master' into builtins 2018-10-16 21:51:42 +02:00
Windel Bouwman 75d73e6263 Merge pull request #159 from azmeuk/builtin_ord
builtin ord basic implementation. Fixes #151
2018-10-16 21:43:07 +02:00
Éloi Rivard 4e72c5204f Basic repl based on rustyline 2018-10-16 20:57:51 +02:00
Éloi Rivard 3e7f168359 builtin ord basic implementation. Fixes #151 2018-10-16 19:17:49 +02:00
cgm616 2ca0a39a4c Add tests for new max and min 2018-10-15 18:06:06 -04:00
Windel Bouwman 2f424eb713 Merge pull request #156 from gabhijit/23_update_readme_for_python3
Updated README to reflect Python 3 support explicitly #23
2018-10-15 19:11:26 +02:00
Abhijit Gadgil 277ffa614e Updated README to reflect Python 3 support explicitly 2018-10-15 13:43:13 +05:30
cgm616 62bb15faef Add max and min builtins 2018-10-15 01:02:56 -04:00
Windel Bouwman 3eafcbec3d Add decorator functionality 2018-10-14 20:04:19 +02:00
Windel Bouwman 133d72fcb1 Add tokenize module. Change call_method to take a reference to a PyObjectRef. Add new method to list class. 2018-10-14 15:21:48 +02:00
Windel Bouwman 8503a80433 Add initial types module 2018-10-14 13:09:44 +02:00
Windel Bouwman d3b0c872ec Add additional math functions to math module 2018-10-14 12:17:36 +02:00
Windel Bouwman bccb6f3bf5 Add draft re module 2018-10-14 10:59:00 +02:00
Windel Bouwman 82af5b2981 Add struct unpack function 2018-10-14 09:43:09 +02:00
Windel Bouwman 5e27cc45b0 Initial struct module 2018-10-13 22:04:49 +02:00
Windel Bouwman cef6707bef Initial structure for io module 2018-10-13 11:36:51 +02:00
Windel Bouwman ce91a25106 Added -m option to main program. 2018-10-13 11:17:09 +02:00
Windel Bouwman bc60969091 Update formatting and readme file 2018-10-13 09:44:42 +02:00
Windel Bouwman c94c5f7049 Add keyword module 2018-10-10 19:40:52 +02:00
Windel Bouwman 70c7f275cb Create spiffy macro to generate math functions. 2018-10-10 19:15:36 +02:00