YoVDO

Code From Nothing - Procedural Generation of Python Source Code

Offered By: EuroPython Conference via YouTube

Tags

EuroPython Courses Procedural Generation Courses Source Code Analysis Courses Programming Language Design Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore procedural generation of Python source code in this 31-minute EuroPython 2021 conference talk. Dive into novel techniques for testing Python linters and fixers using Hypothesis and related tools. Learn how to address corner cases in Python's complex syntax, discover potential issues in widely-used tools like Black and the Python parser, and gain insights into source-code fuzzing. Understand the importance of comprehensive testing for code analysis tools, with a focus on flake8 and libcst. Grasp the fundamentals of parsers and programming language design as you uncover innovative approaches to ensure the robustness of Python development tools.

Syllabus

Intro
Greetings!
About this talk
Code... What is it, really?
Linters and autoformatters
Checking the Checkers
Random acts of code
Structure is the king
Grammar as a template
Enter Hypothesis
LarkStrategy
Python is quirky
Enter Hypothesmith
Targeted search
Bugs found with Hypothesmith
Caveats
Further reading


Taught by

EuroPython Conference

Related Courses

A Brief History of Data Storage
EuroPython Conference via YouTube
Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube
We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube
Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube
The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube