Commit Graph

29 Commits

Author SHA1 Message Date
Windel Bouwman
f7aa1dd822 Remove executor trait since we can have mutual includes 2018-08-01 22:22:19 +02:00
Daniel Watkins
ca842d0813 Add -c option to main.rs
This option takes a string which it runs as a program.
2018-07-31 14:35:14 -04:00
Daniel Watkins
d50d920866 Refactor script running to separate method 2018-07-31 14:22:45 -04:00
Windel Bouwman
b9adb4e926 Add environment thingy 2018-07-28 17:42:45 +02:00
Adam Kelly
59ed5405f4 Fix warnings in main.rs. 2018-07-28 12:29:13 +01:00
yodalee
2b28390153 resume debug code object print at startup
Impl more detail debug message for pyobject kind
2018-07-19 21:33:09 +08:00
Windel Bouwman
000f889222 Add compile builtin 2018-07-18 14:45:53 +02:00
Windel Bouwman
476edb509c Store local variables in REPL 2018-07-16 22:53:36 +02:00
Windel Bouwman
b653b96a46 Autoformatting 2018-07-15 13:16:00 +02:00
Windel Bouwman
36bef81ceb Change eval compile to statement 2018-07-14 16:03:50 +02:00
Windel Bouwman
5783133565 Add eval and exec compile modes 2018-07-14 15:17:19 +02:00
Windel Bouwman
e6493ec996 Add new_instance method 2018-07-14 12:14:16 +02:00
Windel Bouwman
cafc9edf35 Formatting of code 2018-07-13 20:42:58 +02:00
Windel Bouwman
3349e24aad Early import mechanics 2018-07-11 23:33:59 +02:00
Windel Bouwman
14c928ff1d move evaluate function into virtual machine 2018-07-11 18:19:32 +02:00
Windel Bouwman
65c3ff54b0 New idea for object system 2018-07-11 17:33:10 +02:00
Windel Bouwman
2354102795 Add interactive shell 2018-07-09 22:06:49 +02:00
Windel Bouwman
7d20869dc0 Fix return value from function 2018-07-08 21:03:25 +02:00
Windel Bouwman
ed4557fec5 Added cool script to test snippets in both implementations 2018-07-08 19:57:53 +02:00
Windel Bouwman
62cb3e2474 Add slice object 2018-07-08 12:38:55 +02:00
Windel Bouwman
3f98e3c64a Reverse dependency between vm and cpython bytecode adapter 2018-07-07 23:19:06 +02:00
Windel Bouwman
8470254f07 Move last compiler / vm pieces out of parser crate 2018-07-07 17:44:30 +02:00
Windel Bouwman
4be77bcbc7 Remove unused compiler namespace in parser 2018-07-07 17:36:21 +02:00
Windel Bouwman
2a67f2211c Try to emit proper bytecode 2018-07-03 20:30:54 +02:00
Windel Bouwman
7a719190f3 Move compiler function to top level and try to emit code 2018-07-03 19:38:09 +02:00
Shing Lyu
2d0e4efecf Make the main program parse from parser and run with vm 2018-06-11 22:29:09 +02:00
Shing Lyu
277124fc1f Make the parser and vm two separate crates 2018-06-07 00:09:09 +02:00
Shing Lyu
93b6ce31c0 Moved rspython to parser folder and created top level project 2018-06-06 23:11:24 +02:00
Windel Bouwman
cb394ebdc4 Initial import from rspython repo 2018-06-01 21:36:19 +02:00