Commit Graph

  • 068489b1c6 Merge pull request #178 from BojanKogoj/bojan/objfloat-__le__ Windel Bouwman 2018-10-27 15:50:32 +02:00
  • 89e03d0436 Added __le__ for float Bojan 2018-10-27 15:13:03 +02:00
  • 4bb412a9ab Added __lt__ for float Bojan 2018-10-27 13:14:35 +02:00
  • 29ce0cf2e7 Add support for if-filters in list comprehensions. Windel Bouwman 2018-10-27 11:35:46 +02:00
  • b03dd623c7 Add raw strings to lexer. Add line break continuation to lexer. Windel Bouwman 2018-10-27 10:30:11 +02:00
  • e973000699 Correctly handle negative numbers in bin and hex Cauê Baasch de Souza 2018-10-26 14:14:48 -03:00
  • b28be9b186 Use objint::get_value in bin and hex Cauê Baasch de Souza 2018-10-26 14:01:42 -03:00
  • 986763579c Add tests for bin and hex Cauê Baasch de Souza 2018-10-26 00:29:44 -03:00
  • c46d2474d4 Implement hex builtin function Cauê Baasch de Souza 2018-10-26 00:13:15 -03:00
  • d779d16faa Implement bin builtin function Cauê Baasch de Souza 2018-10-26 00:12:53 -03:00
  • 09e2c027cd Extend ast module with more nodes. Test send method on generators. Windel Bouwman 2018-10-24 16:02:59 +02:00
  • babb8ed2f0 Deleted comparison based on objectkind Windel Bouwman 2018-10-24 12:02:16 +02:00
  • c742909d51 First working implementation of generators. Windel Bouwman 2018-10-24 10:54:48 +02:00
  • 89a280e5b2 Move a lot of functions from vm to frame for generator support Windel Bouwman 2018-10-23 23:34:29 +02:00
  • acefe3841e Add initial generator builtin type Windel Bouwman 2018-10-23 21:27:40 +02:00
  • 399f383841 Merge pull request #175 from rmliddle/wasm-steps Windel Bouwman 2018-10-23 19:25:10 +02:00
  • 1c376252a4 changed wording on wasm build instructions rmliddle 2018-10-23 21:30:32 +11:00
  • 683827d2b2 readme fix rmliddle 2018-10-23 21:29:11 +11:00
  • ded30f8319 formatting and readme changes rmliddle 2018-10-23 20:48:41 +11:00
  • edbac92160 basic instructions wasm build rmliddle 2018-10-23 20:31:05 +11:00
  • 1222830678 Implement star arg on left hand side of assignment. Windel Bouwman 2018-10-22 21:52:06 +02:00
  • c2f5394c75 binary crate + index.html for wasm build rmliddle 2018-10-22 23:07:25 +11:00
  • 104bc56bc1 Add hash builtin function. Windel Bouwman 2018-10-21 23:33:06 +02:00
  • 525807c319 Add __getitem__ on list, tuple and str Windel Bouwman 2018-10-21 21:09:38 +02:00
  • f59f8a9567 Add support for *args and **kwargs in functions. Windel Bouwman 2018-10-21 20:48:08 +02:00
  • 940c41bda8 Reduce lalrpop generated code size by about half. Relates to issue #173. Windel Bouwman 2018-10-21 16:01:39 +02:00
  • bc23e60962 Add generator expression syntax Windel Bouwman 2018-10-20 12:16:18 +02:00
  • c54e4434a1 Merge branch 'master' of https://github.com/RustPython/RustPython Windel Bouwman 2018-10-20 11:47:30 +02:00
  • ae768c7fe6 Add parsing for star arg parameters. Windel Bouwman 2018-10-20 11:47:23 +02:00
  • 59aa249783 Merge pull request #172 from rmliddle/sysmodule-additions Windel Bouwman 2018-10-20 09:59:48 +02:00
  • 95d7a4d417 removed unused imports rmliddle 2018-10-20 11:47:36 +11:00
  • a099361cf2 formatting changes rmliddle 2018-10-20 11:44:18 +11:00
  • 064765315d pass of args for clap, pop first arg rmliddle 2018-10-20 10:36:49 +11:00
  • e92ba94c61 Modify ast regarding keyword arguments. Windel Bouwman 2018-10-19 22:45:24 +02:00
  • 2035f5404d Add exec builtin function Windel Bouwman 2018-10-19 21:59:19 +02:00
  • 8f3e1a3b25 Add error handling to compiler. Windel Bouwman 2018-10-19 20:51:50 +02:00
  • 7e45d0b8b4 Add del statement Windel Bouwman 2018-10-19 18:41:44 +02:00
  • f7fc9a8020 Move min/max test snippets to own directory to pass current tests. Windel Bouwman 2018-10-18 23:22:45 +02:00
  • 46251d4aa1 Merge pull request #167 from azmeuk/builtins_unimplemented Windel Bouwman 2018-10-18 23:03:48 +02:00
  • db38b4a4c5 Merge pull request #168 from azmeuk/repl Windel Bouwman 2018-10-18 23:02:15 +02:00
  • fb92b56e4a Merge pull request #171 from aeroaks/master Windel Bouwman 2018-10-18 23:01:31 +02:00
  • 4da6c94602 Added test for capitalize method to string Akshay Verma 2018-10-18 16:46:43 +02:00
  • 8c04cb5dc3 Added tests for capitalize method to string Akshay Verma 2018-10-18 16:25:27 +02:00
  • fad493c79f Added capitalize method to string Akshay Verma 2018-10-18 16:14:35 +02:00
  • 809e320ee3 Minor repl fix Éloi Rivard 2018-10-18 10:21:26 +02:00
  • 3f8116f434 Snippet showing unimplemented methods in builtin types Éloi Rivard 2018-10-17 22:09:01 +02:00
  • e334941728 Removal of Clone trait on ast nodes. Should reduce codesize somewhat. Windel Bouwman 2018-10-17 22:04:02 +02:00
  • 5707548436 Add set.add method Windel Bouwman 2018-10-17 21:08:46 +02:00
  • fca3e7a6ae Merge pull request #165 from azmeuk/membership Windel Bouwman 2018-10-17 20:25:33 +02:00
  • 96d35ad4f9 Generalize comprehensions for list, dict and set. Windel Bouwman 2018-10-17 20:10:26 +02:00
  • b18156ac21 Added set object membership test Éloi Rivard 2018-10-17 19:38:55 +02:00
  • 2f29798ced Fixed __contains__ comparison on lists, tuples and iter objects Éloi Rivard 2018-10-17 19:26:24 +02:00
  • a450c0e3da Add builtin type set Windel Bouwman 2018-10-17 17:14:46 +02:00
  • 77a4369b61 Merge pull request #164 from azmeuk/max Windel Bouwman 2018-10-17 16:32:29 +02:00
  • 438bb45a74 Merge pull request #163 from azmeuk/membership Windel Bouwman 2018-10-17 16:31:14 +02:00
  • abf113798f Added builtin max and min snippets Éloi Rivard 2018-10-16 23:05:28 +02:00
  • e415ee1fbf Basic membership implementation Éloi Rivard 2018-10-17 13:20:32 +02:00
  • 7f263d14f3 Implement multilevel list comprehensions Windel Bouwman 2018-10-17 13:28:52 +02:00
  • c9aa103cce Change target of for loops into single expression. Windel Bouwman 2018-10-17 13:12:04 +02:00
  • 6105a836ad Initial variant of list comprehensions Windel Bouwman 2018-10-17 12:05:10 +02:00
  • adfb750129 Added ternary if operator Windel Bouwman 2018-10-17 08:45:16 +02:00
  • c7b4984ae8 Merge pull request #161 from azmeuk/5> Windel Bouwman 2018-10-16 23:30:49 +02:00
  • c4bdb63af0 Merge branch 'master' of https://github.com/RustPython/RustPython Windel Bouwman 2018-10-16 23:26:47 +02:00
  • 7728ee1e63 Minor change to keyword arguments in function call Windel Bouwman 2018-10-16 23:26:37 +02:00
  • ba9483d96c Restored the 5> in the repl prompt Éloi Rivard 2018-10-16 23:01:38 +02:00
  • de6fabfa1f Merge pull request #160 from azmeuk/repl Windel Bouwman 2018-10-16 22:02:04 +02:00
  • 50fdda4900 Merge pull request #154 from cgm616/builtins Windel Bouwman 2018-10-16 21:52:17 +02:00
  • 950ef7e86f Merge branch 'master' into builtins Windel Bouwman 2018-10-16 21:51:42 +02:00
  • 75d73e6263 Merge pull request #159 from azmeuk/builtin_ord Windel Bouwman 2018-10-16 21:43:07 +02:00
  • 4e72c5204f Basic repl based on rustyline Éloi Rivard 2018-10-16 20:34:00 +02:00
  • 3e7f168359 builtin ord basic implementation. Fixes #151 Éloi Rivard 2018-10-16 17:19:43 +02:00
  • 302784df51 sysmod.argv added + snippet rmliddle 2018-10-16 23:02:09 +11:00
  • 2ca0a39a4c Add tests for new max and min cgm616 2018-10-15 18:06:06 -04:00
  • 2f424eb713 Merge pull request #156 from gabhijit/23_update_readme_for_python3 Windel Bouwman 2018-10-15 19:11:26 +02:00
  • 277ffa614e Updated README to reflect Python 3 support explicitly Abhijit Gadgil 2018-10-15 13:43:13 +05:30
  • 62bb15faef Add max and min builtins cgm616 2018-10-15 01:02:56 -04:00
  • 3eafcbec3d Add decorator functionality Windel Bouwman 2018-10-14 20:04:19 +02:00
  • 133d72fcb1 Add tokenize module. Change call_method to take a reference to a PyObjectRef. Add new method to list class. Windel Bouwman 2018-10-14 15:21:48 +02:00
  • 8503a80433 Add initial types module Windel Bouwman 2018-10-14 13:09:44 +02:00
  • d3b0c872ec Add additional math functions to math module Windel Bouwman 2018-10-14 12:17:36 +02:00
  • bccb6f3bf5 Add draft re module Windel Bouwman 2018-10-14 10:59:00 +02:00
  • 82af5b2981 Add struct unpack function Windel Bouwman 2018-10-14 09:43:09 +02:00
  • 5e27cc45b0 Initial struct module Windel Bouwman 2018-10-13 22:04:49 +02:00
  • cef6707bef Initial structure for io module Windel Bouwman 2018-10-13 11:36:51 +02:00
  • ce91a25106 Added -m option to main program. Windel Bouwman 2018-10-13 11:17:09 +02:00
  • bc60969091 Update formatting and readme file Windel Bouwman 2018-10-13 09:44:42 +02:00
  • c94c5f7049 Add keyword module Windel Bouwman 2018-10-10 19:40:52 +02:00
  • 70c7f275cb Create spiffy macro to generate math functions. Windel Bouwman 2018-10-10 19:15:36 +02:00
  • e782342d36 Add initial math module Windel Bouwman 2018-10-10 18:54:19 +02:00
  • 204e2e3e56 Merge pull request #150 from almarklein/master Windel Bouwman 2018-10-10 18:41:29 +02:00
  • 75ab46e933 Merge pull request #149 from rmliddle/added-__name__-to-scope Windel Bouwman 2018-10-10 18:38:05 +02:00
  • 2330534fff improve multiline command behavior + setup for using sys.ps1 and sys.ps Almar Klein 2018-10-10 14:41:45 +02:00
  • c95caa1e6e Fix multiline input on Windows Almar Klein 2018-10-10 14:02:10 +02:00
  • 22a961075b Improve behavior wrt errors during import Almar Klein 2018-10-10 13:32:47 +02:00
  • cb0ca5cd61 set __name__ on import rmliddle 2018-10-10 22:18:19 +11:00
  • e7942264d6 added __name__ to scope rmliddle 2018-10-10 22:12:30 +11:00
  • d650476f85 Add additional methods to string objects Windel Bouwman 2018-09-29 10:31:59 +02:00
  • 2d7b0e0d4b Moved objbool into obj folder Windel Bouwman 2018-09-29 09:38:07 +02:00
  • a3af930787 Merge pull request #145 from rmliddle/minor-readme-cleanup Windel Bouwman 2018-09-23 12:12:11 +02:00
  • 0f4aeeb4cf Added license badge rmliddle 2018-09-23 16:38:26 +10:00