<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/lexerunix.c, branch encoding</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=encoding</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=encoding'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-11-16T07:13:51+00:00</updated>
<entry>
<title>py/lexer: Rewrite mp_lexer_new_from_fd in terms of mp_reader.</title>
<updated>2016-11-16T07:13:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-16T07:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=66d955c218b66076a3d4300f70388c634c0d3099'/>
<id>urn:sha1:66d955c218b66076a3d4300f70388c634c0d3099</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/lexer: Provide generic mp_lexer_new_from_file based on mp_reader.</title>
<updated>2016-11-16T07:13:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-16T05:25:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e5ef15a9d7bead2a60009caedbc128a8906c7ecd'/>
<id>urn:sha1:e5ef15a9d7bead2a60009caedbc128a8906c7ecd</id>
<content type='text'>
If a port defines MICROPY_READER_POSIX or MICROPY_READER_FATFS then
lexer.c now provides an implementation of mp_lexer_new_from_file using
the mp_reader_new_file function.
</content>
</entry>
<entry>
<title>unix: Allow to cat a script into stdin from the command line.</title>
<updated>2015-06-04T22:42:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-04T22:42:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=031278f661e5d285c56359e355a96161bf6e1a9f'/>
<id>urn:sha1:031278f661e5d285c56359e355a96161bf6e1a9f</id>
<content type='text'>
See issue #1306.
</content>
</entry>
<entry>
<title>py: Move to guarded includes, everywhere in py/ core.</title>
<updated>2015-01-01T20:32:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T20:27:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=51dfcb4bb7613ed164952712d9a5235a7b833cde'/>
<id>urn:sha1:51dfcb4bb7613ed164952712d9a5235a7b833cde</id>
<content type='text'>
Addresses issue #1022.
</content>
</entry>
<entry>
<title>py: Optimise lexer by exposing lexer type.</title>
<updated>2014-12-05T19:35:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-12-05T19:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a4c52c5a3d19b5527023fedfaae96cb717d03802'/>
<id>urn:sha1:a4c52c5a3d19b5527023fedfaae96cb717d03802</id>
<content type='text'>
mp_lexer_t type is exposed, mp_token_t type is removed, and simple lexer
functions (like checking current token kind) are now inlined.

This saves 784 bytes ROM on 32-bit unix, 348 bytes on stmhal, and 460
bytes on bare-arm.  It also saves a tiny bit of RAM since mp_lexer_t
is a bit smaller.  Also will run a bit more efficiently.
</content>
</entry>
<entry>
<title>py: Add further checks for failed malloc in lexer init functions.</title>
<updated>2014-10-09T15:53:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-10-09T15:53:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9bf5f2857d2015e3d440feb03c102ed9730c8f4d'/>
<id>urn:sha1:9bf5f2857d2015e3d440feb03c102ed9730c8f4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Change lexer stream API to return bytes not chars.</title>
<updated>2014-07-30T10:46:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-30T10:46:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=94fbe9711a1179b3c4d0eb2e9822787d90231719'/>
<id>urn:sha1:94fbe9711a1179b3c4d0eb2e9822787d90231719</id>
<content type='text'>
Lexer is now 8-bit clean inside strings.
</content>
</entry>
<entry>
<title>py: Include mpconfig.h before all other includes.</title>
<updated>2014-06-21T19:43:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-21T19:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=59c675a64c1d9757d50ad4627da67a6f996a99fb'/>
<id>urn:sha1:59c675a64c1d9757d50ad4627da67a6f996a99fb</id>
<content type='text'>
It defines types used by all other headers.

Fixes #691.
</content>
</entry>
<entry>
<title>Tidy up some configuration options.</title>
<updated>2014-05-21T19:32:59+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-21T19:32:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=58ebde46646dd49d22b2accfa9c7a78e15921e48'/>
<id>urn:sha1:58ebde46646dd49d22b2accfa9c7a78e15921e48</id>
<content type='text'>
MP_ALLOC_* -&gt; MICROPY_ALLOC_*
MICROPY_PATH_MAX -&gt; MICROPY_ALLOC_PATH_MAX
MICROPY_ENABLE_REPL_HELPERS -&gt; MICROPY_HELPER_REPL
MICROPY_ENABLE_LEXER_UNIX -&gt; MICROPY_HELPER_LEXER_UNIX
MICROPY_EXTRA_* -&gt; MICROPY_PORT_*

See issue #35.
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
</feed>
