It’s the end of my personal weekly iteration on programming. Today, I started to write down an “end of iteration” post. My public work:
I updated the samples, and started to write some test, to learn how it could be tested. For me, it is an exploration spike, but it’s time to learn how to write Express applications using TDD. The below example uses MongoDB:
My GitHub pages in Spanish. I updated the intro page:
Operators for .NET objects. I had to write this project to give support of arbitrary objects operators. In other projects, I use Microsoft.VisualBasic.CompilerServices, but apparently there is no support in Mono for such methods. For now, I have binary arithmetic and compare operators implemented. It is used in Mass programming language. I relies on code generation via AjGenesis, to avoid to write all the type combinations.
There is an assert module, to start writing Mass using TDD:
Additional modules will be hosted in NPM.
Talk Intro to Python
I started to write my next talk presentation:
Only two slides😉. But it was a good user experience, my first time using Reveal.js. Good support for markdown and code highlighting. No preprocessor needed, simply write the HTML file.
Before SimpleGrammar, I started a C# project, having a generic lexer/tokenizer and a generic parser. But after my experience with SimpleGrammar, I refactored the code to have a generic parser with detection rules.
TDD in Python
My first Python experiment using TDD, using simple import unittest.
AjLisp in Python
After my first experience with unittest and Python, I started to write a new version of AjLisp, this time in Python. It is WIP, you can see my commit by test at:
I’m using Python 3.3 on a Windows 8 machine.
A lot of fun😉