, Hi, I’m Joannah! I’m currently doing my Ph.D., researching garbage collection and Python. I’m also a Python core developer whose career in open source was kick-started by participating in programs like @outreachy and Rails Girls Summer of code. Outside of contributing code, I’m an active leader and member of…

A quick disclaimer: I am not adding or proposing any new statements to Cpython. I was curiously tinkering to know the flow.

These are my notes, so I wasn’t keen on presentation here.

1. Edit the grammar in **Grammar/Grammar**. make
2. Add an AST node for the statement **Parser/Python.asdl** which is AST generation code. make
3. Write the code that converts the parse-tree node. Edit Python/ast.c
4. Note: Instead of creating a new AST for every node, you can use existing AST nodes.
5. Compile the AST into Python bytecode. Compilation results in a Control Flow Graph. Edit Python/compile.c
6. Update symbol table. Modify Python/symtable.c to add code that handles the new statement.

Outreachy gives three-month paid internships for persons that are underrepresented in tech. Interns are paid a stipend of $5,500 and have a $500 travel stipend available to them.

Outreachy interns work remotely with mentors from Free and Open Source Software (FOSS) communities on projects for programming, user experience, documentation, illustration…

Joannah Nanjekye

Christian, I choose results over reasons, proud aviator, show me the code

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store