ben
|
224863583b
|
Use new_syntax error in main.rs
|
2019-04-16 20:53:14 +12:00 |
|
Windel Bouwman
|
d0c4fcb2fa
|
Doing what is needed for all our non-latin friends.
|
2019-03-24 13:14:38 +01:00 |
|
ben
|
6fa059fd6c
|
Make PyObject.typ a PyClassRef
|
2019-03-24 10:51:52 +13:00 |
|
coolreader18
|
162c2dc207
|
Merge branch 'coolreader18/multiline-repl'
Make the REPL handle line continuation better #711
|
2019-03-22 11:27:05 -05:00 |
|
coolreader18
|
36ff4e37d3
|
Use vm.get_attribute
|
2019-03-22 07:29:14 -05:00 |
|
coolreader18
|
b0d8935731
|
Merge branch 'master' into coolreader18/immutable-vm-ref
|
2019-03-22 07:21:45 -05:00 |
|
Adam Kelly
|
23ee751880
|
Use vm.get_attribute to access attributes of modules.
|
2019-03-22 10:54:28 +00:00 |
|
coolreader18
|
2c93c79ac8
|
Immutable prompt variable
|
2019-03-22 01:53:55 -05:00 |
|
coolreader18
|
a9051ab462
|
Convert all &mut VirtualMachine to &VirtualMachine
|
2019-03-22 01:48:14 -05:00 |
|
coolreader18
|
88d6926f78
|
Make the REPL handle continuation better
|
2019-03-21 20:25:16 -05:00 |
|
coolreader18
|
f78f558404
|
Fix clippy lints
|
2019-03-19 10:52:39 -05:00 |
|
Adam Kelly
|
6ad528c15c
|
Reintroduce new_scope for the common case of an empty scope.
|
2019-03-10 12:38:43 +00:00 |
|
Adam Kelly
|
0e23e706c9
|
Restructure scope to distinguish between locals and globals.
|
2019-03-10 12:38:43 +00:00 |
|
Adam Kelly
|
9d6e9ac889
|
Move Scope from pyobject to frame.
|
2019-03-01 20:49:17 +00:00 |
|
Adam Kelly
|
c2e2441388
|
Remove Scope variant from PyObject.
|
2019-03-01 20:47:09 +00:00 |
|
Windel Bouwman
|
7032de96d7
|
Merge pull request #311 from nhynes/compile-wasm
Allow compiling VM for wasm32-unknown-unknown
|
2019-02-23 10:42:09 +01:00 |
|
Joey
|
df76ffe116
|
Replace most relative imports with 2018-style crate
|
2019-02-20 08:50:53 -08:00 |
|
chris
|
0cc898e19d
|
Updated Compilation phase to detect whether or not we are currently inside of a loop or not. This is useful to determine whether or not we can use looping specific keywords such as break or continue.
|
2019-02-19 02:18:52 -05:00 |
|
holygits
|
570b28439a
|
Fix tests
|
2019-02-14 12:31:20 +13:00 |
|
Nick Hynes
|
ae8dc46947
|
Allow compiling VM for wasm32-unknown-unknown
|
2019-02-13 23:22:03 +00:00 |
|
holygits
|
995fac12fd
|
Remove stray file
|
2019-02-14 11:10:27 +13:00 |
|
holygits
|
4453c3e561
|
Create error types for parser and compiler
Pass through locations and tokens in ParseError
|
2019-02-14 10:21:21 +13:00 |
|
matrizx
|
c041c8cbc5
|
Replaced cluttered match statements with if let
|
2019-02-12 16:55:12 -08:00 |
|
ZapAnton
|
604883dc86
|
Fixed the len_zero clippy warning
|
2019-02-12 17:13:09 +03:00 |
|
ZapAnton
|
a0f1f51863
|
Fixed the useless_asref clippy warnings
|
2019-02-12 17:09:52 +03:00 |
|
Windel Bouwman
|
95cb0178cd
|
Merge pull request #405 from RustPython/code_object
Code object
|
2019-02-09 16:20:07 +01:00 |
|
Adam Kelly
|
769b889097
|
Source path should always be set, make it non-optional for code object.
|
2019-02-09 12:22:51 +00:00 |
|
klemens
|
79a7e5e42b
|
spelling fixes
|
2019-02-09 12:00:46 +01:00 |
|
rmliddle
|
f89dc0061b
|
included all not unix in static pathbuf
|
2019-02-06 22:37:35 +11:00 |
|
rmliddle
|
51d5f9d3a4
|
changed String to PathBuf
|
2019-02-06 21:46:50 +11:00 |
|
rmliddle
|
401f477fc8
|
Format main.rs
|
2019-02-06 21:01:55 +11:00 |
|
Ryan Liddle
|
2f0647e847
|
factored out xdg to cfg functions to allow windows builds to succeed
|
2019-02-06 20:59:54 +11:00 |
|
Windel Bouwman
|
7096434f95
|
Implement some clippy tips
|
2019-02-04 17:17:54 +01:00 |
|
Tom Forbes
|
a72dbf1d0c
|
Use XDG paths to store Python history
|
2019-02-03 10:07:50 +01:00 |
|
Windel Bouwman
|
d627230434
|
Merge pull request #263 from coolreader18/string-str
Remove unnecessary to_string conversions
|
2019-01-28 20:38:54 +01:00 |
|
coolreader18
|
989357fe81
|
Fix warnings from using trim_left and trim_right
|
2019-01-27 23:02:27 -06:00 |
|
coolreader18
|
5ecff1b37e
|
Remove unnecessary to_string conversions
|
2019-01-27 21:45:21 -06:00 |
|
Windel Bouwman
|
49f855219a
|
Implement sys.getrefcount, sys.ps1, sys.ps2 and sys.getsizeof
|
2018-11-11 20:54:30 +01:00 |
|
Windel Bouwman
|
079905277b
|
Add time module and improve lexer handling of numeric constants
|
2018-11-03 15:12:12 +01:00 |
|
Adam Kelly
|
f587221401
|
Separate get_method (magic methods) and get_attribute (full attribute access).
|
2018-11-02 17:16:46 +00:00 |
|
Windel Bouwman
|
89a280e5b2
|
Move a lot of functions from vm to frame for generator support
|
2018-10-23 23:34:29 +02:00 |
|
Windel Bouwman
|
59aa249783
|
Merge pull request #172 from rmliddle/sysmodule-additions
Adds args accessible via the sysmodule
|
2018-10-20 09:59:48 +02:00 |
|
rmliddle
|
a099361cf2
|
formatting changes
|
2018-10-20 11:44:18 +11:00 |
|
rmliddle
|
064765315d
|
pass of args for clap, pop first arg
|
2018-10-20 10:36:49 +11:00 |
|
Éloi Rivard
|
809e320ee3
|
Minor repl fix
|
2018-10-18 10:21:26 +02:00 |
|
Windel Bouwman
|
a450c0e3da
|
Add builtin type set
|
2018-10-17 17:14:46 +02:00 |
|
Éloi Rivard
|
ba9483d96c
|
Restored the 5> in the repl prompt
|
2018-10-16 23:01:38 +02:00 |
|
Éloi Rivard
|
4e72c5204f
|
Basic repl based on rustyline
|
2018-10-16 20:57:51 +02:00 |
|
Windel Bouwman
|
3eafcbec3d
|
Add decorator functionality
|
2018-10-14 20:04:19 +02:00 |
|
Windel Bouwman
|
ce91a25106
|
Added -m option to main program.
|
2018-10-13 11:17:09 +02:00 |
|