Tuesday, February 7, 2023
Learning Code
  • Home
  • JavaScript
  • Java
  • Python
  • Swift
  • C++
  • C#
No Result
View All Result
  • Home
  • JavaScript
  • Java
  • Python
  • Swift
  • C++
  • C#
No Result
View All Result
Learning Code
No Result
View All Result
Home Python

Creating a Python Code Completer & More Abstract Syntax Tree Projects – The Real Python Podcast

learningcode_x1mckf by learningcode_x1mckf
September 4, 2022
in Python
0
Creating a Python Code Completer & More Abstract Syntax Tree Projects – The Real Python Podcast
74
SHARES
1.2k
VIEWS
Share on FacebookShare on Twitter


Real Python Podcast Episode #123 Title Artwork

Sep 02, 2022 1h 13m

Christopher Bailey
Meredydd Luff

How does a code completion device work? What’s an Summary Syntax Tree, and the way is it created in Python? How does an AST provide help to write applications and initiatives that examine and modify your Python code? This week on the present, Meredydd Luff, co-founder of Anvil, shares his PyCon speak, “Constructing a Python Code Completer.”

Episode Sponsor:


Meredydd talks about his expertise constructing a code completion engine for the Anvil platform. The dialog leads us to debate how Python parses the code that you simply kind. We look at tokenization, summary syntax timber, and the way parsing has modified in Python.

We cowl further initiatives you can discover after you have a device that inspects the Python code you’re writing. Be part of us as we dive into a number of rabbit holes of analysis and exploration.

Course Highlight: Python Assignment Expressions and Using the Walrus Operator

On this course, you’ll find out about project expressions and the walrus operator. The largest change in Python 3.8 was the inclusion of the := operator, which you should utilize to assign variables in the course of expressions. You’ll see a number of examples of the right way to benefit from this function.

Matters:

  • 00:00:00 – Introduction
  • 00:02:11 – Constructing a Python Code Completer – Discuss
  • 00:08:48 – How is recursion getting used?
  • 00:10:28 – Summary Syntax Bushes, Parsers, and Tokens
  • 00:14:58 – Sponsor: CData Software program
  • 00:15:39 – Is parsing into tokens a separate step?
  • 00:21:45 – What makes the brand new PEG parser distinctive?
  • 00:25:32 – Utilizing the AST doesn’t need to be scary.
  • 00:27:33 – Extra on the PEG parser
  • 00:29:54 – Conserving scope and holding completions
  • 00:39:43 – Video Course Highlight
  • 00:41:15 – Was this your first expirement in making a code completer?
  • 00:46:46 – How can including kind hints help a completer?
  • 00:50:53 – Tasks you possibly can construct utilizing AST
  • 00:53:02 – Linter mission
  • 00:54:15 – Automated code formatter
  • 00:54:59 – Code testing and the pytest mission
  • 00:56:22 – Safety instruments
  • 00:57:11 – Friendlier tracebacks
  • 00:59:57 – Code completion vs GitHub Copilot
  • 01:04:14 – Code completion in a textual content editor vs IDE
  • 01:08:53 – What are you enthusiastic about on the earth of Python?
  • 01:09:54 – What do you need to study subsequent?
  • 01:11:20 – How can folks observe your work?
  • 01:12:31 – Thanks and goodbye

Present Hyperlinks:


Tweet
Share
Share
Email
class=”h4″>

Degree Up Your Python Abilities With These Programs:

« Browse All Episodes





Source link

You might also like

Build a Wordle Clone With Python and Rich – Real Python

Create Interactive Maps & Geospatial Data Visualizations With Python – The Real Python Podcast

Build a JavaScript Front End for a Flask API – Real Python

Share30Tweet19
learningcode_x1mckf

learningcode_x1mckf

Recommended For You

Build a Wordle Clone With Python and Rich – Real Python

by learningcode_x1mckf
February 6, 2023
0
Build a Wordle Clone With Python and Rich – Real Python

On this tutorial, you’ll construct your personal Wordle clone for the terminal. Since Josh Wardle launched Wordle in October 2021, thousands and thousands of individuals have performed it....

Read more

Create Interactive Maps & Geospatial Data Visualizations With Python – The Real Python Podcast

by learningcode_x1mckf
February 3, 2023
0
Create Interactive Maps & Geospatial Data Visualizations With Python – The Real Python Podcast

Feb 03, 2023 1h 2m Would you wish to shortly add information to a map with Python? Have you ever needed to create stunning interactive maps and export them...

Read more

Build a JavaScript Front End for a Flask API – Real Python

by learningcode_x1mckf
February 1, 2023
0
Build a JavaScript Front End for a Flask API – Real Python

Most fashionable net functions are powered by a REST API below the hood. That manner, builders can separate JavaScript front-end code from the back-end logic that an online...

Read more

Using the Terminal on Linux – Real Python

by learningcode_x1mckf
January 31, 2023
0
Using the Terminal on Linux – Real Python

The terminal might be intimidating to work with once you’re used to working with graphical consumer interfaces. Nonetheless, it’s an vital device that you have to get used...

Read more

How to Iterate Over Rows in pandas, and Why You Shouldn’t – Real Python

by learningcode_x1mckf
January 30, 2023
0
How to Iterate Over Rows in pandas, and Why You Shouldn’t – Real Python

One of the crucial frequent questions you may need when coming into the world of pandas is easy methods to iterate over rows in a pandas DataFrame. In...

Read more
Next Post
How Can You Install a Pre-Release Version of Python? – Real Python

How Can You Install a Pre-Release Version of Python? – Real Python

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Related News

Learn Observable JavaScript with Observable notebooks

Learn Observable JavaScript with Observable notebooks

October 7, 2022
What Are Data Structures and Algorithms in JavaScript? (Definition)

What Are Data Structures and Algorithms in JavaScript? (Definition)

January 20, 2023
URLSession and the Combine framework

URLSession and the Combine framework

September 28, 2022

Browse by Category

  • C#
  • C++
  • Java
  • JavaScript
  • Python
  • Swift

RECENT POSTS

  • C++ Is TIOBE's Language Of The Year – iProgrammer
  • JobRunr, the Java Scheduler Library, Released Version 6.0 – InfoQ.com
  • An Introduction to Lodash and Its Benefits for JavaScript Developers – MUO – MakeUseOf

CATEGORIES

  • C#
  • C++
  • Java
  • JavaScript
  • Python
  • Swift

© 2022 Copyright Learning Code

No Result
View All Result
  • Home
  • JavaScript
  • Java
  • Python
  • Swift
  • C++
  • C#

© 2022 Copyright Learning Code

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?