Skip to content

/dev/null

The black hole…

  • Amazon Wishlist

Tag: ANTLR

Computer Science programming

ANTLR Tutorial – Part X

February 10, 2024ambsLeave a Comment on ANTLR Tutorial – Part X
ANTLR Tutorial – Part X

Everything comes to an end, and this will be the last part of this tutorial. Or at least, the last planned part of this tutorial. In this part, we will implement the support to functions. But, before we start, I need to correct a mistake in part IV of this tutorial, when the SVG output […]

Computer Science programming

ANTLR Tutorial – Part IX

December 25, 2023December 25, 2023ambsLeave a Comment on ANTLR Tutorial – Part IX

For this issue, I do not bring a lot of news. With Christmas and other requests, I had little time to continue this tutorial. But, having someone to test the previous issues of this tutorial (thanks, Vicente), we found out that the custom Build Task developed in the first parts of this tutorial has problems […]

Computer Science programming

ANTLR Tutorial – Part VIII

December 16, 2023December 16, 2023ambsLeave a Comment on ANTLR Tutorial – Part VIII

Is this tutorial ever ending? Who knows. But while I am motivated for it, I will continue. I already have some ideas for future parts, so I can’t see this finishing before the ten or twelve issues. To start with, the news since the last part. I added documentation to the repository as well as […]

Computer Science programming

ANTLR Tutorial – Part VII

December 9, 2023December 9, 2023ambsLeave a Comment on ANTLR Tutorial – Part VII

Things are getting exciting. I will introduce control statements in this part of the ANTLR tutorial, like repetitions and conditionals. For that, we will need to do a small walk, visiting the comparison and boolean operators. Then, we will be able to implement the control operators and, in the end, test everything. Comparisons LOGO does […]

Computer Science

ANTLR Tutorial – Part VI

December 4, 2023ambsLeave a Comment on ANTLR Tutorial – Part VI

Welcome back to my ANTLR tutorial. This part will be focused on the support of variables in LOGO. We will work on the assignment of values to variables and variables evaluation. We will also take the opportunity to split the grammar file into two: the lexer and the grammar parts. The previous parts of this […]

Computer Science programming

GitHub Actions – A quick example for ANTLR

November 27, 2023December 2, 2023ambs2 Comments on GitHub Actions – A quick example for ANTLR

I am sure there are hundreds of better tutorials for GitHub actions. However, I decided that it would be nice to have tests run on every push to my repository of the code developed for my ANTLR Tutorial Series, and it seemed a good idea to document the process here. First, what are GitHub Actions? […]

Computer Science programming

ANTLR Tutorial – Part V

November 25, 2023December 2, 2023ambsLeave a Comment on ANTLR Tutorial – Part V

This is the fifth part of my ANTLR Tutorial. You can look at the previous issues here: Part I, Part II, Part III, and Part IV. For this part, we will implement arithmetic expressions and mathematical functions (in fact, only a portion, as the remaining will be left as an exercise for the reader). To […]

Computer Science programming

ANTLR Tutorial – Part IV

November 16, 2023February 10, 2024ambs1 Comment on ANTLR Tutorial – Part IV
ANTLR Tutorial – Part IV

This is the fourth part of my ANTLR Tutorial. Previous issues, Part I, Part II and Part III are also available. Before you ask, I have no idea how many parts this tutorial will have. I will keep sharing some knowledge, both from ANTLR and C#. I hope you keep enjoying it and that it […]

Computer Science programming

ANTLR Tutorial – Part III

November 11, 2023November 15, 2023ambsLeave a Comment on ANTLR Tutorial – Part III

Keeping up with the ANTLR tutorial, here goes a new issue. Part I and Part II are also available. As discussed previously, we are writing a conversion tool from the LOGO programming language into SVG. Up to now, we wrote a lot of code but did accomplish the generation of any SVG. In this issue […]

Computer Science programming

ANTLR Tutorial – Part II

October 28, 2023November 8, 2023ambs2 Comments on ANTLR Tutorial – Part II

Continuing with the ANTLR tutorial, started in my last post, this second part advances with three main goals: Grammar Simplification The grammar presented in the last post was somewhat cucumbersome. The way we dealt with whitespace characters made the grammar difficult to read, as we needed to take care of where spaces could appear in […]

Posts navigation

Older posts
All Rights Reserved.