<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/lexer.c, branch v1.5.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-09-07T16:33:44+00:00</updated>
<entry>
<title>py/lexer: Properly classify floats that look like hex numbers.</title>
<updated>2015-09-07T16:33:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-07T16:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2b000474d9350ede1c1aedb83ba8976d81ba4cf8'/>
<id>urn:sha1:2b000474d9350ede1c1aedb83ba8976d81ba4cf8</id>
<content type='text'>
Eg 0e0 almost looks like a hex number but in fact is a float.
</content>
</entry>
<entry>
<title>py/lexer: Raise SyntaxError when unicode char point out of range.</title>
<updated>2015-09-07T16:19:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-07T16:19:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0be3c70cd88da39ee4dcc328ba3bde1e5abcd406'/>
<id>urn:sha1:0be3c70cd88da39ee4dcc328ba3bde1e5abcd406</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/lexer: Raise NotImplError for unicode name escape, instead of assert.</title>
<updated>2015-09-07T16:08:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-07T16:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=081f9325f522b25e2f6b4266dca3f2d2dd1c69ac'/>
<id>urn:sha1:081f9325f522b25e2f6b4266dca3f2d2dd1c69ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/lexer: Raise SyntaxError when str hex escape sequence is malformed.</title>
<updated>2015-07-23T22:20:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-23T22:20:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d241c2a5926c0c8147a05b10ad3e7a54d480f55b'/>
<id>urn:sha1:d241c2a5926c0c8147a05b10ad3e7a54d480f55b</id>
<content type='text'>
Addresses issue #1390.
</content>
</entry>
<entry>
<title>py: Cast argument for printf to int, to be compatible with more ports.</title>
<updated>2015-06-22T16:40:12+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-22T16:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7f19a39a3b79f552f158020f33c693913b884e7c'/>
<id>urn:sha1:7f19a39a3b79f552f158020f33c693913b884e7c</id>
<content type='text'>
This allows stmhal to be compiled with MICROPY_DEBUG_PRINTERS.
</content>
</entry>
<entry>
<title>py: Support unicode (utf-8 encoded) identifiers in Python source.</title>
<updated>2015-06-09T10:58:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-09T10:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ed58cb66379f4d87e3e8fbb68baada19048ac18'/>
<id>urn:sha1:7ed58cb66379f4d87e3e8fbb68baada19048ac18</id>
<content type='text'>
Enabled simply by making the identifier lexing code 8-bit clean.
</content>
</entry>
<entry>
<title>extmod: Add ubinascii.unhexlify</title>
<updated>2015-05-20T08:29:22+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-05-18T21:41:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3ad94d6072555955a796c8c72a526c4fdff86711'/>
<id>urn:sha1:3ad94d6072555955a796c8c72a526c4fdff86711</id>
<content type='text'>
This also pulls out hex_digit from py/lexer.c and makes unichar_hex_digit
</content>
</entry>
<entry>
<title>py: Allow to compile with extra warnings (sign-compare, unused-param).</title>
<updated>2015-03-19T00:25:33+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-19T00:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2e2e404ff77e95dbe4fee0f19c91913a5888fb6f'/>
<id>urn:sha1:2e2e404ff77e95dbe4fee0f19c91913a5888fb6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Parse big-int/float/imag constants directly in parser.</title>
<updated>2015-02-08T01:57:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-02-08T01:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d414a1b52d193bab2c94cf56932e1eba23ba542'/>
<id>urn:sha1:7d414a1b52d193bab2c94cf56932e1eba23ba542</id>
<content type='text'>
Previous to this patch, a big-int, float or imag constant was interned
(made into a qstr) and then parsed at runtime to create an object each
time it was needed.  This is wasteful in RAM and not efficient.  Now,
these constants are parsed straight away in the parser and turned into
objects.  This allows constants with large numbers of digits (so
addresses issue #1103) and takes us a step closer to #722.
</content>
</entry>
<entry>
<title>py: Convert CR to LF and CR LF to LF in lexer.</title>
<updated>2015-01-30T00:27:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-30T00:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=32bade19d952c23c2fd499050abb17cb80dc7559'/>
<id>urn:sha1:32bade19d952c23c2fd499050abb17cb80dc7559</id>
<content type='text'>
Only noticeable difference is how newlines are encoded in triple-quoted
strings.  The behaviour now matches CPython3.
</content>
</entry>
</feed>
