A couple of days ago, Perl 7 was announced.
Isn’t that a great news? Well, yes and no. I have my personal feelings about this but I hope I can also see some other things that are not so much subjective.
Science, Programming, Electronics, Languages
A couple of days ago, Perl 7 was announced.
Isn’t that a great news? Well, yes and no. I have my personal feelings about this but I hope I can also see some other things that are not so much subjective.
A couple of days ago, Perl 7 was announced.
Isn’t that a great news? Well, yes and no. I have my personal feelings about this but I hope I can also see some other things that are not so much subjective.
In the second task of this week’s Challenge, you have to find two integers that being powered as xy, give the requested integer number n.
In the second task of this week’s Challenge, you have to find two integers that being powered as xy, give the requested integer number n.
Hey there, there’s another task #066-1 offered by the Perl Weekly Challenge (why still not mentioning Raku in the name?).
Integer-divide the two given integers, $m and $n, without using multiplication, or division, or modulo.
Hey there, there’s another task #066-1 offered by the Perl Weekly Challenge (why still not mentioning Raku in the name?).
Integer-divide the two given integers, $m and $n, without using multiplication, or division, or modulo.
The PDFs of the articles about using wavelets that my thesis supervisor, my co-authors and I wrote in late 1990s and early 2000s in English.
The PDFs of the articles about using wavelets that my thesis supervisor, my co-authors and I wrote in late 1990s and early 2000s in English.
Here is my Raku solution of the Task 1 on Week 65. The task is to print all $n-digit numbers, whose sum of digits is $s.
Here is my Raku solution of the Task 1 on Week 65. The task is to print all $n-digit numbers, whose sum of digits is $s.
Let me demonstrate another interesting one-liner that I find to be a good addition to my last years’s book Raku One-Liners. The task was inspired by this week’s problem from the Perl Weekly Challenge.
Let me demonstrate another interesting one-liner that I find to be a good addition to my last years’s book Raku One-Liners. The task was inspired by this week’s problem from the Perl Weekly Challenge.
In this blog post, I am giving a number of examples of how you can use hashes in the Raku programming language in a correct and incorrect ways and explain how to avoid the chance to mislead yourself.
In this blog post, I am giving a number of examples of how you can use hashes in the Raku programming language in a correct and incorrect ways and explain how to avoid the chance to mislead yourself.
In this chapter, we are implementing the if and else keywords, and are approaching the more complex structures such as loops. After introducing the AST earlier, these tasks become quite doable. Also in this chapter: code blocks are introduced.
In this chapter, we are implementing the if and else keywords, and are approaching the more complex structures such as loops. After introducing the AST earlier, these tasks become quite doable. Also in this chapter: code blocks are introduced.
The compiler becomes bigger and bigger, and we are going to add more syntax to the Lingua language. It is a good time to make a pause in the compiler development and ensure some stability. In this chapter, we will create a test suite, which will allow us to find problems in the implementation and prevent new bugs when extending the language.
The compiler becomes bigger and bigger, and we are going to add more syntax to the Lingua language. It is a good time to make a pause in the compiler development and ensure some stability. In this chapter, we will create a test suite, which will allow us to find problems in the implementation and prevent new bugs when extending the language.
Among the other things that I miss because of all this mess this year, or as Dutch call it ‘coronacrisis’, are the two trips I planned to do this spring: to see early spring in Ukraine and to enjoy the summer forests of Latvia. There was an amazing car trip around Riga and suburbs last … Continue reading “The last con”
In this chapter, we traverse the AST that was built earlier and create the methods to evaluate (or execute) the nodes according to their meaning. Another interesting feature of Raku, the so called getters, is used in the code.
In this chapter, we traverse the AST that was built earlier and create the methods to evaluate (or execute) the nodes according to their meaning. Another interesting feature of Raku, the so called getters, is used in the code.
In the second part of this chapter, I am talking about building the AST fragments for hosting strings, arrays, and hashes, as well as bigger constructs such as expressions, and how to manipulate these elements in a program.
In the second part of this chapter, I am talking about building the AST fragments for hosting strings, arrays, and hashes, as well as bigger constructs such as expressions, and how to manipulate these elements in a program.
An overview of the new features appeared at the Coronavirus Observer site during the first month after its launch.
An overview of the new features appeared at the Coronavirus Observer site during the first month after its launch.
In this chapter, we will be working on implementing AST, the abstract syntax tree, that represents the program in the form of connected nodes, which are responsible for atomic actions such as variable declaration, or computing a sum of two values, or calling a function. This is probably the most difficult and brain-puzzling chapters in the book.
In this chapter, we will be working on implementing AST, the abstract syntax tree, that represents the program in the form of connected nodes, which are responsible for atomic actions such as variable declaration, or computing a sum of two values, or calling a function. This is probably the most difficult and brain-puzzling chapters in the book.
The answer is: Accessing array or hash items with a proper sigil!
The answer is: Accessing array or hash items with a proper sigil!
In this chapter, we will extend the Lingua language with aggregate data types: arrays and hashes. From this point, we will call variables that contain numbers and strings scalar variables.
In this chapter, we will extend the Lingua language with aggregate data types: arrays and hashes. From this point, we will call variables that contain numbers and strings scalar variables.
I have written an article for perl.com about a number of interesting tricks in the Raku programming language that were used for building the Coronavirus Observer site.
I have written an article for perl.com about a number of interesting tricks in the Raku programming language that were used for building the Coronavirus Observer site.
There are a number of issues with the raw COVID-19 statistical data. Most, if not all, of them come from the fact that different countries use different methods to get the numbers.
There are a number of issues with the raw COVID-19 statistical data. Most, if not all, of them come from the fact that different countries use different methods to get the numbers.
Until now, the language only worked with numbers—integer and floating point, both in regular and in scientific notation. In the following two chapters, we’ll update the language and integrate other data types to it: strings, arrays, and hashes. Let us start with strings.
Until now, the language only worked with numbers—integer and floating point, both in regular and in scientific notation. In the following two chapters, we’ll update the language and integrate other data types to it: strings, arrays, and hashes. Let us start with strings.
In this chapter, we’ll review the grammar that was created so far and will try to make some changes to make the grammar and the actions more compact, more readable and more user-friendly. The bigger the language becomes, the more important it is to keep its code maintainable.
In this chapter, we’ll review the grammar that was created so far and will try to make some changes to make the grammar and the actions more compact, more readable and more user-friendly. The bigger the language becomes, the more important it is to keep its code maintainable.