<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/unix-cpy/Makefile, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-08-17T11:51:26+00:00</updated>
<entry>
<title>unix-cpy: Remove unix-cpy.  It's no longer needed.</title>
<updated>2015-08-17T11:51:26+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-14T11:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=65dc960e3b22a8426e369607e47c19b380ce30ea'/>
<id>urn:sha1:65dc960e3b22a8426e369607e47c19b380ce30ea</id>
<content type='text'>
unix-cpy was originally written to get semantic equivalent with CPython
without writing functional tests.  When writing the initial
implementation of uPy it was a long way between lexer and functional
tests, so the half-way test was to make sure that the bytecode was
correct.  The idea was that if the uPy bytecode matched CPython 1-1 then
uPy would be proper Python if the bytecodes acted correctly.  And having
matching bytecode meant that it was less likely to miss some deep
subtlety in the Python semantics that would require an architectural
change later on.

But that is all history and it no longer makes sense to retain the
ability to output CPython bytecode, because:

1. It outputs CPython 3.3 compatible bytecode.  CPython's bytecode
changes from version to version, and seems to have changed quite a bit
in 3.5.  There's no point in changing the bytecode output to match
CPython anymore.

2. uPy and CPy do different optimisations to the bytecode which makes it
harder to match.

3. The bytecode tests are not run.  They were never part of Travis and
are not run locally anymore.

4. The EMIT_CPYTHON option needs a lot of extra source code which adds
heaps of noise, especially in compile.c.

5. Now that there is an extensive test suite (which tests functionality)
there is no need to match the bytecode.  Some very subtle behaviour is
tested with the test suite and passing these tests is a much better
way to stay Python-language compliant, rather than trying to match
CPy bytecode.
</content>
</entry>
<entry>
<title>unix-cpy: Prefix includes with py/; remove need for -I../py.</title>
<updated>2015-01-01T20:41:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T20:41:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b36be5ff5172c97a8f37228c1ec163df466fd588'/>
<id>urn:sha1:b36be5ff5172c97a8f37228c1ec163df466fd588</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefiles: Support py/*.h includes per #1022.</title>
<updated>2014-12-27T14:32:52+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-12-27T14:11:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3b74c91684e6dfc785bf33ba03e520470f59059e'/>
<id>urn:sha1:3b74c91684e6dfc785bf33ba03e520470f59059e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add -Wpointer-arith flag to prevent problems with pointer arithmetic on void*</title>
<updated>2014-10-29T09:29:09+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2014-10-29T09:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4e54c876a7236cbb50431f1f6d52c7be2052ed6f'/>
<id>urn:sha1:4e54c876a7236cbb50431f1f6d52c7be2052ed6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: Simplify build directory layout by putting all headers in genhdr.</title>
<updated>2014-04-17T17:03:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-17T17:03:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d553be5982722fc5ee5240fbfb15697849881ced'/>
<id>urn:sha1:d553be5982722fc5ee5240fbfb15697849881ced</id>
<content type='text'>
Any generated headers go in $(BUILD)/genhdr/, and are #included as
'genhdr/xxx.h'.
</content>
</entry>
<entry>
<title>build directory can now be renamed</title>
<updated>2014-04-16T21:16:28+00:00</updated>
<author>
<name>Andrew Scheller</name>
<email>github@loowis.durge.org</email>
</author>
<published>2014-04-16T21:10:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=70a7d7a94397cbe01fd5457e34f3d3368300f2ac'/>
<id>urn:sha1:70a7d7a94397cbe01fd5457e34f3d3368300f2ac</id>
<content type='text'>
The autogenerated header files have been moved about, and an extra
include dir has been added, which means you can give a custom
BUILD=newbuilddir option to make, and everything "just works"

Also tidied up the way the different Makefiles build their include-
directory flags
</content>
</entry>
<entry>
<title>Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c.</title>
<updated>2014-01-26T17:52:23+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-01-26T17:52:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=56bb636014aaab4ac5dfada6b80fe5c2de820d34'/>
<id>urn:sha1:56bb636014aaab4ac5dfada6b80fe5c2de820d34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework makefiles. Add proper dependency checking.</title>
<updated>2014-01-24T16:46:48+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-01-24T09:05:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c89c681a9f065e66ce817a024fda24abeed9519f'/>
<id>urn:sha1:c89c681a9f065e66ce817a024fda24abeed9519f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revamp qstrs: they now include length and hash.</title>
<updated>2014-01-21T21:40:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-01-21T21:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55baff4c9bcbc001cbb8972c289ebfa356d4665b'/>
<id>urn:sha1:55baff4c9bcbc001cbb8972c289ebfa356d4665b</id>
<content type='text'>
Can now have null bytes in strings.  Can define ROM qstrs per port using
qstrdefsport.h
</content>
</entry>
<entry>
<title>Merge branch 'str2int' of github.com:xyb/micropython into xyb-str2int</title>
<updated>2014-01-15T22:58:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-01-15T22:58:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5573f9f150d513ed3f996722e2b57b58cfb24f3b'/>
<id>urn:sha1:5573f9f150d513ed3f996722e2b57b58cfb24f3b</id>
<content type='text'>
Conflicts:
	py/objint.c
	unix-cpy/Makefile
	unix/Makefile
</content>
</entry>
</feed>
