Update page 'Day 2 lecture'

j
2023-03-31 03:30:49 +02:00
parent 0f282db290
commit e4c49c05bf
+13 -3
@@ -1,8 +1,18 @@
* Review of day 1, questions * Review of day 1, questions
bignums
np.finfo(format) for format in ['float16','float32']
mojibake
* Lexer/parser demo * Lexer/parser demo
* `tokenize` module finite state automaton or FSA, or "state machine"
* `ast` module timers
* `tokenize` module: https://docs.python.org/3/library/tokenize.html
tokens can be used to debug complex data input issues, especially security or xplatform issues
* `ast` module: https://docs.python.org/3/library/ast.html
abstract syntax tree
* Number formats, base 16 representation * Number formats, base 16 representation
* Hexdumping: https://gogs.gtsplab.com:5432/j/python-test/src/main/hexdump.py
ASCII tables
* Imaginary numbers and why 'j' is a problem * Imaginary numbers and why 'j' is a problem
also i
* Formatted string literals * Formatted string literals
* Hexdumping