Skip to content

Releases: go-python/gpython

Release v0.2.0

28 Jun 08:00
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.0...v0.2.0

Release v0.1.0

15 Feb 09:48
f712a5d
Compare
Choose a tag to compare

This release ships with a new multi-context interpreter.

Many thanks to @drew-512 for this work are in order.

What's Changed

New Contributors

Full Changelog: v0.0.2...v0.1.0

v0.0.3

05 Dec 22:34
@ncw ncw
Compare
Choose a tag to compare

Changelog

f4ab05f Initial attempt at gometalinter rules
f7ea0a4 Add a Community section to the README
734fbaa py: Fix errors are suppressed in generator comprehensions
0773b68 parser: Update make_grammer_text.py
2981ee9 py: Fix TracebackDump not to dump duplicated exception type
b715616 repl/web: apply wasm_exec.js.patch to fix print() under wasm
50cd487 Implement a web based REPL using gpython
08903fc Factor REPL into CLI part and agnostic part and add tests
d13383c vm: make PrintExpr hook for steering the output of PRINT_EXPR in the REPL
d05bbcc complex: added str and repr plus missing properties
4f66e54 Add support for print to file and file flush.
8cee534 Make getattr return methods implemented in go - fixes #28
ee952c8 print should use str or repr when available
6e7b5ec Initial work at implementing file methods: - open (builtin) - File.read - File.write - File.close
09f14d0 builtin: Implement builtin sum (#21)
eaa7d28 build: run py3test.py, installing python3.4 if necessary
bf8d938 Revamp py3test
a5185a2 bin: script to install python 3.4
f7ce7c0 math: tests: Rename math.py -> mathtests.py so "import math" works properly
6ded9bc parser: Update from go tool yacc into goyacc (#22)
ed3c651 ci: enable GO111MODULE=on for master
a182849 gpython: use peterh/[email protected]
b55db0b builtin: Update builtin_all and builtin_any for Python3
c6c49d2 ci: add Go1.11, drop Go1.8 (#17)
60ae876 appveyor.yml: Fix gcc issue on go test -race ./...
6a2b593 all: apply gofmt simplify
16e9ec3 gpython: point to new home of grumpy
dd41cdd gpython: add code coverage support
e9df6dc ci: add appveyor build (windows)
e9ee2ff gpython: add license badge
43a6207 gpython: add initial support for Go modules
c37be76 ci: use latest patch version of Go releases


Automated with GoReleaser
Built with go version go1.11.2 linux/amd64

v0.0.2

21 Aug 20:01
@ncw ncw
Compare
Choose a tag to compare

Changelog

2609237 Add copyright headers to all files
9cfbc17 Relicense the project under BSD License with the go-python organisation
b8f93bd Fix imports and docs after move to go-python org


Automated with GoReleaser
Built with go version go1.10.1 linux/amd64

v0.0.1

21 Aug 18:59
@ncw ncw
Compare
Choose a tag to compare

Changelog

b8a7165 Update release docs
8a7aec9 builtin: Implement builtin function any, all.


Automated with GoReleaser
Built with go version go1.10.1 linux/amd64

v0.0.0

05 Aug 14:10
@ncw ncw
Compare
Choose a tag to compare

Changelog

c0de7de travis: don't test on go1.7 as it fails the math tests
46f8028 math: comment out some expm1 tests which fail on 32 bit
a910f3b travis: run tests in 32 bit mode as well
32e35ae math: fix compile on 32 bit systems
9e5c0d4 Change Type.Flags to uint to make gpython compile on 32 bit OSes
f75f21e Tidy junk files
9442150 Add goreleaser to make packages on github
77dde64 Test gpython with Travis CI
8b45fd5 Fix link to PSF licence
7418ece Add LICENSE, README and examples
5e6dfca Note about clang tools
97e4a0f compile: add line numbers to compiler and create line number table (lnotab)
bbab811 compile, symtable, parse: get lineno, offset, file into SyntaxErrors
4fc4f37 testparser: make it compile too and make a py3 comparison
c8b83ac py, parse: float - fix parsing of out of range floats and floats with spaces
bdc70db parser: testparser - script to parse all the python source
132a9f5 py: int - fix base conversion with base and sigil
c61c054 Make tests past with python3 too
b9545a4 py: type - fix initialisation and repr
eb7e8f3 py: fix GoInt and GoInt64 for BigInts
af1ba18 py: list fix add
066aaa7 math: implement math module
7e4f791 py: method - add eq and ne
40a2528 py: make == and != complain if comparing the same type with no eq method
f148ad3 Notes on dict implementation
20fb671 builtin: implement exec() and eval()
d0c72a9 vm: stop dict literals or dict comp panicing with non string keys
f16c0ab py: int: fix multiply
bf7e345 repl: allow """ strings to span lines
e1bc5aa parser: return correct errors for unterminated triple quoted strings
d9667bc repl: implement multi line code input with continuation lines
e352670 parser: fix "single" mode and return correct EOF error
5775015 repl: line editing with history and completion
5148b8e py: repr and str for bool, bytes, dict, ellipsis, list, module, none, string, tuple
3f14f3d py, builtin, vm: make str() and repr() and implement some str and repr
de8c04a builtin: make print end= and sep= work
1a6a2dd Remove debug print messages
bf490cc builtins: slightly improve print()
833d4da py: string - slightly better implementation of % operator
440aa7c py3test.py to run the unit tests with python3 as a cross check
d831b11 py: string: make getitem and contains work and unit tests
d95eafb py: fix Eq and Ne
7bea4c3 Fix errors spotted by go vet
648fc13 parser: fix error on setting someting which can't be set, eg f()=1
927e70d parser: fix reporting of errors and parsing of decimals with leading zeros
60d12b3 parser: implement string escapes
6125042 py: int: Fix neg(IntMin) and round(IntMin)
0e6bb4c py: implement round() for int/long, float() and complex()
2bc7a53 builtin: implement divmod
db8950c py: int: tests for *, <<, >> and fixes
313e2cb py: int: fix floor divide to be exactly the same as python
0dce941 py: Implement BigInt to extend Int and tests for it
b6756c7 py: fix arithmetic operations code generator and code
f863723 Make sys.args accurate and implement -cpuprofile flag
00ffff0 vm: keep locals local (5% speedup)
cf0f887 vm: compile debug out with a constant - 180% speed improvement!
4b9bdd5 Change from panic/recover error handling to go style error values
9d45873 vm, builtin, py: locals(), globals() and builtin fixes
4f76837 vm,py: fix generators called after end of code
8e7ded6 py: Fix SetAttr
28b616d pytest: factor python testing framework into own module
71b65b7 py: import - make work better in REPL and look for init.py
4ccf870 repl: very basic REPL
cae96e7 vm: implement CALL_FUNCTION
, fast locals and make function calling work properly
7f90811 compile: fix kwonlyargs and raise SyntaxError on duplicated keywords
e4ed532 py: exception: bodge to return Exception.args
3a20288 py: code: remove extra brackets
db28072 py: dict: implement eq and ne
b306413 symtable: fix functions with no normal arguments (only *args etc)
6a2dcc9 vm: Implement SETUP_WITH and WITH_CLEANUP
1d7e528 compile: fix continue in with block
e2cd6ef py: eq and ne for type
07d321a vm: tidy tests
7c07fd2 vm: tests for generators
447496c vm: give opcode its own type
0838829 vm: raise tests
30367ff vm: rename variables to be more like the python original code
87adad3 vm: fix continue
3d425a8 vm: fix exception handling
4865ebf py: ExceptionInfo - check for nil
5a57a8b compile: make SyntaxError on return outside function
19f32cb vm: Tests for STORE_ATTR, LOAD_ATTR, DELETE_ATTR
d059504 vm: implement IMPORT_NAME, IMPORT_FROM, IMPORT_STAR; py: factor Attribute code
a20d443 vm: implement in, not in; py: changed args to Iterate
acaa5df vm: more tests for lists and DELETE_SUBSCR, UNPACK_EX, UNPACK_SEQUENCE etc
bb6f44c py: implement DelItem
194e817 py: tuple - Reverse method
3a897b0 py: float and int - check for divide by zero
5a56e32 vm: tests for loops
ceed469 vm: remove STORE_LOCALS opcode as it is no longer used
5546ccd py: failing test for IsSubtype
0d4a6d4 vm: tests and fixes for exceptions
5ceac9c compile: more tests on exception handling
bf0f523 vm: class definitions
114c283 vm: functions & DELETE_NAME, DELETE_GLOBAL, LOAD_NAME, LOAD_GLOBAL, STORE_DEREF, DELETE_DEREF
f570f95 vm: tests for comprehensinos, SET_ADD and MAP_ADD opcodes
7ac88d9 py: dict.setitem and dict.getitem
4a7ad17 py: temporary set.eq and set.ne
44242f0 Remove emacs noise and coverage from .gitignore
1305651 vm: start of test suite
0273331 py: fix <<= for int
9402ed8 compile: improve coverage and tidy code
08f7c83 compile: Fix continue and loops in general
3965a79 compile: implement subscript and fix attribute
cd8c5fa compile: implement starred assignment
e03f367 compile: use c.Exprs where appropriate
5602724 compile: implement Ellipsis
43c7838 py: implement eq and ne for Ellipsis
069f460 compile: implement yield and yield from
cc7bc38 symtable: fix yield/yield from to set generator flag
6c151b7 compile: import/from import
8072a76 compile: implement try/except/finally
54e8dcb compile: with statement
ebc723a compile: implement comprehensions
3c0ad78 compile: class definitions and module docstrings
8f4bd41 py: code: add eq and ne methods
99c3f74 compile: make decorators for functions work
7686a57 compile: finish lambdas including closures
5a2a35a compile: make closures compile properly
329523c symtable: add Find() method
f0cbe48 compile: re-organise code
cc59dde Fix uses of Compile
e1d9f2c compile: implement return, docstrings, global
0acb046 compile: Fix Varnames
c7d19e1 compile: remove disassembly from test data which makes it stable and shorter
a0c3930 compile: make a simple function compile
f7003ed symtable: remove unused import * checking code
7a5b132 symtable: correct package name and stop panic's escaping the package
21129d0 symtable: make definitions public
08446c2 symtable: fix functions, add classes, lambda, increase coverage
efe2b0e ast: Walk - fix ExceptHandler traversal
88dcf55 symtable: fix tests after move
0f4c714 symtable: factor out from compile
de6c5dd compile: symtable: implement list/set/dict/generator comprehensions
940b430 compile: symtable: test and fix flags
44e6f63 compile: symtable: global and nonlocal
5d621d0 compiler: fill out symtable machinery
39eaaff compiler: symtable - stringer and fix test
f1c2c69 compiler: symbol table framework, plus test machinery
611c8dc ast: Walk - fix null pointer deref and increase test coverage
8eb8664 ast: implement Walk() function
3079681 compile: function definitions without body
a39de11 tuple: implement eq and ne
ff5d114 compiler: implement call
669e0e4 compile: implement for loop
50cdc44 compler: break, continue and framework for testing exceptions
1cfd200 compile: note that diffs are caused by bugs in python 3.4
6ab7061 lexer: fix whitespace issues
8d5c74e compile: Implement while and if
ac9ca13 compiler: del and raise
de8f9c5 compiler: assign and augmented assign
54f3149 compiler: pass, expr statement and assert
4826ccc compile: basic lambda: working
d0ea27b compile: implement Dict, Set, attribute lookup
532fd9c compile: implement named constant (True, False, None)
6b7f42a py.Bool eq and ne
5f5112a py.None: eq and ne
54f7fe1 compiler: implement tuple and list
9b2aead compile: implement Bytes
b881849 py.Bytes: implement comparisons
b8b5f4e compiler: implement comparators
67b9193 compiler: Factor instructions into own file and rename some compile methods
363ce43 compile: Fixup panics to have name of thing they are panicing about
0a8e720 compiler: make stack depth calcuations work
853ec56 Fix 3.4 CLASSDEREF opcode definition
3842c62 compiler: Make names work and detect duplicate constants and names
d7653f2 compile: Implement if expression and JUMP_FORWARD
6fa5265 compiler: Fix jump resolver
2ece17f compiler: Bool Ops, Labels, N pass assembly, Jump resolution
d84b599 compiler: Unary Ops
a9c21a1 compiler: basic infrastructure, constants and binops
c49e757 Add test machinery for compile
6f1f9b2 Add auto generated y.go and y.output now the code is done (almost)
bd6b992 Move grammar test data to its own file
1f41308 Improve coverage
f8f4d5e Fix Ctx
bf62f09 decorators
8ed83d0 Class definition
6ae1b00 Function definitions
0079df4 Lambda and varargs
bad0904 Assign and augmented assign
8858589 With statememt
034315f try / except statememts
79b119d Fix assert statement
a27bc28 Implement For and If
b685896 Simple statements
b3fe9bd Mark unfinished parts
f627870 Make Call with arguments work
133ce36 trailers - call and subscript - call not finished
6305d51 Fix Call to have correct Func name
f993dc7 Make nil items return as None
216cff9 BinOp, BoolOp and UnaryOp
058dc76 Fix Mod String
302a07f Get rid of uneccessary stacks and clear out yylval each lex
3078552 Generator, List, Set and Dictionary comprehensions
817f25d Add SetCtx and SetCtxer
a08810b Ast dump Comprehension structs properly
69f12ff Implement tuple and list in ast - comprehensions still to go
bdbd2d0 Fix parsing of Tuple within Set
13b545c Make simple set and dict literals work
debd25b Empty dict
1950ac4 P...

Read more