📜 ⬆️ ⬇️

Doing Markov Algorithms is Fun

Writing Normal Markov Algorithms is incredibly interesting and fun. Is it interesting to know how we did the best IDE in the world for Normal Markov Algorithms?




')
Who can write an IDE for a language in which no commercial program is written? And we would not have such an idea. But there was a task at the university to make a project - an interpreter.

If you do, then immediately better than anyone. We must first see what others have already done. We didn’t find anything particularly interesting, so we made a list of what should be in the 21st century IDE:



It was decided to do everything. We decided to write in C ++ on Qt. There GUI without problems and signals slots are. (Then it turned out that they can be used without Qt, but this is a completely different story).

Drew a little shemku classes




Invented killer features







Then the documentation of all classes was written, the interface presets were drawn, and the fastest development phase, coding, began.



A couple of days later, the beta version was ready, a website was created, documentation was written, icons, an instalyashka — everything you need for a normal project.

During the first piloting more than 10 improvements were made. The most interesting of them is the support of "sticks". As it turned out in Normal Markov Algorithms, it is most convenient to represent numbers in the form of sticks: ||| = 3, |||| = 4. In order to avoid the need to count them each time we added small numbers that do it for you.



Interesting solutions

During the development we came up with some interesting solutions. Some of them:



results

The project spent 10 days, 4 to come up with and write documentation, 3 to program and 2 more days for improvements, documentation, website.

Now everyone can download without registration and SMS from GitHub (currently only for Windows), as well as anyone who wants to also be able to collect from source .

The project we did together: dianasi , yuragri and me.

Instead of conclusion

An article about Markov Algorithms without algorithms is not serious, here is a small program that converts binary numbers into decimal system (“sticks”).

//Alphabet T = {|, 0, 1} I = {0, 1} //Rules |0 -> 0|| 1->0| 0->$ 


PS and the teacher didn’t like the project, because there was no database here, but that’s another story too.

I am not sure whether the article violates the rules of habr, about advertising. If yes, then please inform or move to PR.

Source: https://habr.com/ru/post/222031/


All Articles