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

Advanced Generative Art and Computational Creativity
Simon Fraser University via Kadenze
Developing AR/VR/MR/XR Apps with WebXR, Unity & Unreal
University of Michigan via Coursera
Game Asset Creation With Houdini
Udemy
React - Learn React with Hooks by creating a Roguelike game
Udemy
Master Procedural Maze & Dungeon Generation
Udemy