Writing Parsers in Rust With Gobble

Learn practical Rust programming building a parser

3.55 (17 reviews)
Udemy
platform
English
language
Programming Languages
category
Writing Parsers in Rust With Gobble
252
students
2.5 hours
content
Dec 2020
last update
$39.99
regular price

What you will learn

Learn to build parsers in Rust

Learn the fundamentals of Rust programming

Description

Learn to write parsers efficiently using Rust!

Parsing is an essential part of various computer science disciplines. It helps you to determine the model from the raw representation. Basically, parsing allow you to identify the structure from the given data. With parsing, you can transform data to the extent at which specific software can understand it.

Considering its importance & need, we have curated this online course with which you can learn to write parsers using Rust with Gobble. Rust is a great language for writing parsers with its enums, iterators, and a clear type system . This course will help you understand parsing techniques, how to use parsers, parser library & other crucial things in Rust.

What Makes This Course Unique?

This short online course on writing parsers is a perfect fit for anyone who wants to create parsers in Rust programming. It will first clear all the fundamentals of Parser, then you will learn about the importance of Parser, important techniques,; design decisions, Gobble iterators & so much more. Lastly, upon learning all the essential things, you will create your own parser for a simple programming language.

This Course Includes:

  • Basics of the parser, its importance, tokenizers

  • Various approaches to parsing

  • Understanding the working of Gobble library

  • Simple expression parser, grammar-based parsing with pest

  • Building a parser system

  • Using & cloning iterators to allow backtracking

  • Techniques for writing your own parser libraries

  • Taking advantage of Rust optimizers with zero-sized types

  • A parser project


Get started with this online course to write your Parser using Rust Programming with Gobble!!



Content

An introduction to Parsing

Introduction to Parsing
Tokenizers
Parsing Tokens into tree
Building a PEG grammar
Convert the PEG result to an expression

Building a Parser System

A Useful Error Type
An Iterator that tracks position
Create and implement The parser Trait
Combine Simple Parser to make bigger ones
Allow sets of characters using a BoolChar Trait
Test the Parser System

A Parser Project

Introducing the Gobble Parser system
Handling JSON Quoted Strings
Handle Simple Types
Arrays of Values
Testing the Parser

Reviews

Emir
June 28, 2023
Narration sucks, teacher making mistakes continuously. Learn gobble library yourself or from its official documentation.
Tristano
December 26, 2020
Although the author is clearly knowledgeable on the subject, the overall experience of going through the course is rather tiresome. The student isn't really given any objectives or tasks, and is mostly left watching the author as he codes down the various parsers and comments on what he's doing. The pace is really fast, and requires pausing often to analyze the code which was simultaneously being typed and explained by the author. Different parsers are presented during the course, but we are not given access to their source code for all of them via the course's resources, so I imagine we have to manually type them while watching (not an easy task since the author types and speaks very fast). The student isn't provided much information on what's goin on, or how the author arrived at a certain state of the project which we see on screen, so many steps have to be inferred in order to follow the course development — usually courses go to great lengths to ensure a smooth experience on the students' side, instead of expecting them to fill the gaps. In order to follow the course you'll need an advanced knowledge of Rust and its tools in order to benefit from the commentary on the code as it's being types by the author. Probably this course would have better suited another medium (e.g. an ebook) for it doesn't seem to exploit much the potentials offered by the video medium — most of the course boils down to a cam-cording of the author working live on the code. Ultimately, the promised knowledge is indeed to be found in the course, it's just presented in a tiresome manner and you'll have to often pause and rewind. If the author had invested more efforts on creating a well polished product, focused more on putting himself in the viewers' shoes, and exploited better the opportunities of the medium, this could have been a five stars course. But, unfortunately, it wasn't so. Do I advise the course? Well, since there aren't many resources on the topic of building parsers in Rust, and because the author truly knows the topic, I would still advise the course — just don't expect a smooth experience, as found on most Udemy courses.

Charts

Price

Writing Parsers in Rust With Gobble - Price chart

Rating

Writing Parsers in Rust With Gobble - Ratings chart

Enrollment distribution

Writing Parsers in Rust With Gobble - Distribution chart
3469338
udemy ID
9/2/2020
course created date
9/16/2020
course indexed date
Bot
course submited by