A plugin API for your Angular app

You might wonder do I really need plugins for my Angular app? When building Angular-Gantt we had the same thoughts. But we run into problems when our library got bigger and bigger. Not everyone needs all the functionality and certain users would like to have custom specific adjustments. We decided to refactor the code to a small core library and implemented all other functionality as plugins. This…

Read more

Make your own Assembler simulator in JavaScript (Part 2)

In part 1 we did create the CPU. In the second and final part, we gonna focus on the memory, console output, assembler and the UI. The memory We will use a simple array to represent the memory. Each slot contains a JavaScript numeric value. So, in theory, the memory can hold values bigger than a byte but our CPU code will make sure all values are between 0-255. The memory has three functions. Load…

Read more

Make your own Assembler simulator in JavaScript (Part 1)

I always enjoy developing in assembler because it is fairly simple to learn, each command does exactly one thing and thus gives a good insight on how a computer operates. Nevertheless, it is possible to make sophisticated software and there is the problem of developing in assembler. It can get complicated very quickly. The goal of this blog post is to create a simple simulator which is able to ass…

Read more