Commit Graph

  • 3b81f806ab Retain the previous locals output format Daniel Watkins 2018-08-02 19:18:35 -04:00
  • e768f06d94 Panic on unexpected locals instead of just logging Daniel Watkins 2018-08-02 19:14:26 -04:00
  • b95c473121 Output locals mapping in trace logging Daniel Watkins 2018-07-31 23:32:46 -04:00
  • eb2cc5b055 Change rt to vm and change args into an object holding both args and kwargs Windel Bouwman 2018-08-02 17:28:33 +02:00
  • f7aa1dd822 Remove executor trait since we can have mutual includes Windel Bouwman 2018-08-01 22:22:19 +02:00
  • 4b2f86dbf2 Merge pull request #19 from OddBloke/dash_c Windel Bouwman 2018-08-01 17:45:55 +02:00
  • 97c5ec1105 Merge pull request #20 from OddBloke/workspace Windel Bouwman 2018-08-01 17:44:44 +02:00
  • 6deafa1d28 Merge pull request #21 from OddBloke/import_with_builtins Windel Bouwman 2018-08-01 17:41:28 +02:00
  • f11b4fa6ca Rename import argument to reflect changed type Daniel Watkins 2018-07-31 22:36:46 -04:00
  • 1bb6ead060 Use a scope (with builtins) for module import Daniel Watkins 2018-07-31 22:32:28 -04:00
  • 02acfd91fc Make repo a workspace and run tests for all components in Travis Daniel Watkins 2018-07-31 16:43:24 -04:00
  • 43fafa5102 Enable semi-colon separated statements Daniel Watkins 2018-07-31 16:31:56 -04:00
  • 03bda855e7 Clean test code Windel Bouwman 2018-07-31 22:11:40 +02:00
  • 188798ac2b Merge pull request #18 from OddBloke/dash_c Windel Bouwman 2018-07-31 21:46:20 +02:00
  • ca842d0813 Add -c option to main.rs Daniel Watkins 2018-07-31 14:35:14 -04:00
  • d50d920866 Refactor script running to separate method Daniel Watkins 2018-07-31 14:22:45 -04:00
  • dbae0b0a71 Add builtin id function Windel Bouwman 2018-07-31 14:28:19 +02:00
  • 794313cadb Merge pull request #16 from nyirog/master Windel Bouwman 2018-07-30 21:01:56 +02:00
  • 099595bf17 Merge pull request #15 from wulmer/feature/windows-and-mac-eol-characters Windel Bouwman 2018-07-29 17:15:49 +02:00
  • 77e80bc42c vm/import: add module name to message of NotFound error Nyiro Gergo 2018-07-29 10:43:10 +02:00
  • 69dd261fe4 Merge branch 'warnings_cleanup' Adam Kelly 2018-07-29 09:26:10 +01:00
  • e79ec8e4cb Suppress unused variable warnings. Adam Kelly 2018-07-29 08:48:28 +01:00
  • 12a3ff5e7e Deal with warnings for Ellipsis and Rarrow Adam Kelly 2018-07-29 08:28:59 +01:00
  • d168156375 Add support for Windows/Mac EOL characters in lexer Ulmer Wolfgang (CR/AEE3) 2018-07-28 22:00:46 +01:00
  • 86ebe8bb96 Added closures Windel Bouwman 2018-07-28 18:43:23 +02:00
  • b855b5fc7a Add scope object to to_str function Windel Bouwman 2018-07-28 18:21:30 +02:00
  • d74f6f55d3 Merge branch 'master' of github.com:RustPython/RustPython Windel Bouwman 2018-07-28 17:42:49 +02:00
  • b9adb4e926 Add environment thingy Windel Bouwman 2018-07-28 17:42:45 +02:00
  • cc7770491d Merge pull request #14 from nyirog/master Windel Bouwman 2018-07-28 17:28:04 +02:00
  • 0bb3a4a01c vm/import: support package import Nyiro Gergo 2018-07-28 15:59:58 +02:00
  • cdd0c29b78 Merge pull request #13 from cthulahoops/warnings_cleanup Windel Bouwman 2018-07-28 14:35:50 +02:00
  • 59ed5405f4 Fix warnings in main.rs. Adam Kelly 2018-07-28 12:24:49 +01:00
  • ea0e25fd3b Merge pull request #12 from cthulahoops/lambdas Windel Bouwman 2018-07-28 13:12:00 +02:00
  • b917efa8a8 Add compilation of lambdas and support function arguments. Adam Kelly 2018-07-28 11:57:41 +01:00
  • 976c1f4340 Update lexer and parser to support lambdas. Adam Kelly 2018-07-28 10:09:08 +01:00
  • fd4452912b Merge pull request #10 from cthulahoops/string_literal_escapes Windel Bouwman 2018-07-28 10:03:06 +02:00
  • a6785c8d72 Add support for a escape sequence in string literals to lexer. Adam Kelly 2018-07-27 08:52:32 +01:00
  • e7cc6b1786 Add else clause to for loop Windel Bouwman 2018-07-24 22:30:45 +02:00
  • 4a96783b54 Merge pull request #9 from yodalee/add-bool-constant Windel Bouwman 2018-07-20 21:57:28 +02:00
  • 2d2ee85bf6 Change block stack unwind a little bit Windel Bouwman 2018-07-19 21:57:14 +02:00
  • ea1b197831 add boolean constant yodalee 2018-07-19 21:29:52 +08:00
  • 2b28390153 resume debug code object print at startup yodalee 2018-07-19 20:57:54 +08:00
  • 000f889222 Add compile builtin Windel Bouwman 2018-07-18 14:45:53 +02:00
  • de29e7fdc7 Add spiffy dir function Windel Bouwman 2018-07-18 11:40:43 +02:00
  • bbc19305f8 Reduce dependencies of vm and parser crates Windel Bouwman 2018-07-18 10:22:00 +02:00
  • 476edb509c Store local variables in REPL Windel Bouwman 2018-07-16 22:53:36 +02:00
  • 8b6e0fe0b6 Add more arithmatic Windel Bouwman 2018-07-16 21:09:05 +02:00
  • e47e5f3d05 Add else statement Windel Bouwman 2018-07-15 16:54:29 +02:00
  • b653b96a46 Autoformatting Windel Bouwman 2018-07-15 13:16:00 +02:00
  • ac37d015d8 Add debug trait to frame Windel Bouwman 2018-07-15 13:10:26 +02:00
  • 8a0d8ab624 Add += and -= Windel Bouwman 2018-07-15 10:58:20 +02:00
  • e648d2ca07 Merge pull request #7 from yodalee/better-codeobject-print Windel Bouwman 2018-07-15 10:33:09 +02:00
  • ed0f45172b add pretty Debug implementation for CodeObject yodalee 2018-07-15 00:59:16 +08:00
  • 36bef81ceb Change eval compile to statement Windel Bouwman 2018-07-14 16:03:50 +02:00
  • 5783133565 Add eval and exec compile modes Windel Bouwman 2018-07-14 15:17:19 +02:00
  • e6493ec996 Add new_instance method Windel Bouwman 2018-07-14 12:14:16 +02:00
  • 66ff3f0bc3 Add type field to PyObject Windel Bouwman 2018-07-14 00:00:23 +02:00
  • cafc9edf35 Formatting of code Windel Bouwman 2018-07-13 20:42:58 +02:00
  • 31be7b916d Added builtin module Windel Bouwman 2018-07-12 22:41:26 +02:00
  • 5187c2e974 Simple importing scheme working Windel Bouwman 2018-07-12 20:38:53 +02:00
  • 8198c4afb7 Merge pull request #5 from yodalee/pretty-print-to-list-and-tuple Windel Bouwman 2018-07-12 19:15:42 +02:00
  • 9f18ccd657 add pretty print to list and tuple yodalee 2018-07-13 00:15:28 +08:00
  • 3349e24aad Early import mechanics Windel Bouwman 2018-07-11 23:33:59 +02:00
  • 14c928ff1d move evaluate function into virtual machine Windel Bouwman 2018-07-11 18:19:32 +02:00
  • 65c3ff54b0 New idea for object system Windel Bouwman 2018-07-11 17:33:10 +02:00
  • 2354102795 Add interactive shell Windel Bouwman 2018-07-09 22:06:49 +02:00
  • 7d20869dc0 Fix return value from function Windel Bouwman 2018-07-08 21:03:25 +02:00
  • ed4557fec5 Added cool script to test snippets in both implementations Windel Bouwman 2018-07-08 19:57:53 +02:00
  • 62cb3e2474 Add slice object Windel Bouwman 2018-07-08 12:38:55 +02:00
  • b4e9064516 Try to repair cpython bytecode frontend Windel Bouwman 2018-07-08 00:22:30 +02:00
  • 3f98e3c64a Reverse dependency between vm and cpython bytecode adapter Windel Bouwman 2018-07-07 23:19:06 +02:00
  • 0a43d244f4 Add pipfile to install requirements for test snippets Windel Bouwman 2018-07-07 17:54:56 +02:00
  • e9cee0f7c6 Remove json bytecode from git Windel Bouwman 2018-07-07 17:47:37 +02:00
  • 8470254f07 Move last compiler / vm pieces out of parser crate Windel Bouwman 2018-07-07 17:44:30 +02:00
  • 4be77bcbc7 Remove unused compiler namespace in parser Windel Bouwman 2018-07-07 17:36:21 +02:00
  • 377795dbec Shuffle files in proper places Windel Bouwman 2018-07-07 17:14:45 +02:00
  • 9526f78d82 Add pytest runner for test snippets Windel Bouwman 2018-07-07 16:27:05 +02:00
  • b9170c0a88 Reshuffle some files Windel Bouwman 2018-07-07 14:00:30 +02:00
  • 2a67f2211c Try to emit proper bytecode Windel Bouwman 2018-07-03 20:30:54 +02:00
  • 0111a8356d Move bytecode definitions to top level crate Windel Bouwman 2018-07-03 19:55:15 +02:00
  • 7a719190f3 Move compiler function to top level and try to emit code Windel Bouwman 2018-07-03 19:38:09 +02:00
  • 2d0e4efecf Make the main program parse from parser and run with vm Shing Lyu 2018-06-11 22:29:09 +02:00
  • 11557e98eb Ignoring rust target folders Shing Lyu 2018-06-11 21:20:48 +02:00
  • 6748227428 Extract the PyCodeObject definition into a separate crate Shing Lyu 2018-06-07 22:44:49 +02:00
  • 57aca407bc Fixed the test vm for a missed comparison operator Shing Lyu 2018-06-07 21:46:31 +02:00
  • 4c53f2b727 Added a not implemented warning for README Shing Lyu 2018-06-07 00:10:43 +02:00
  • 277124fc1f Make the parser and vm two separate crates Shing Lyu 2018-06-07 00:09:09 +02:00
  • a2520d0b40 Rename VM to vm Shing Lyu 2018-06-06 23:30:48 +02:00
  • 93b6ce31c0 Moved rspython to parser folder and created top level project Shing Lyu 2018-06-06 23:10:52 +02:00
  • e47539663e Added gitter link to README Shing Lyu 2018-06-06 22:33:12 +02:00
  • bcc50685ca Add usage to readme Windel Bouwman 2018-06-06 22:19:16 +02:00
  • 1edbfd80f3 Added the shinglyu/RustPython VM Shing Lyu 2018-06-06 11:28:06 +02:00
  • cb394ebdc4 Initial import from rspython repo Windel Bouwman 2018-06-01 21:36:19 +02:00
  • baf208be7a Updated README to include credit Shing Lyu 2018-05-28 21:29:23 +02:00
  • 4050ea2f9a Initial commit Shing Lyu 2018-05-28 21:27:02 +02:00