Blog

List of all postsAtom feed

Mostly-CSS Drop-down Combo Boxes

For as long as I can remember, there were always two kinds of selectors:

(read more)

How to put a site on GitHub

GitHub has made it very easy to get started. If you already have a repo that you want to add web site for, just create a docs folder in the repo and start adding .md (Markdown) files to it; in particular index.md will be recognized as the home page. Then you can select a theme and view your pages as explained here. Links to other markdown files will automatically be converted to html links (for example if you write [link](file.md), it becomes <a href="file.html">link</a>.) You can also write content pages in HTML, but it is rarely necessary. It is possible to insert bits of HTML in your Markdown code if necessary (and Markdown in your HTML).

(read more)

TypeScript+React Primer

For anyone interested in understanding the JavaScript ecosystem so they can start making TypeScript/React apps, I’ve just posted a detailed five-part tutorial on the subject at http://typescript-react-primer.loyc.net… with GitHub repo of all the examples here. Enjoy!

(read more)

My failure with WebAssembly

With WebAssembly, there’s no doubt that I failed completely. I knew how important it was - as I told my wife, “if I can make this happen, it will be the most important thing I have ever done in my life.” But I allowed myself to lose confidence and let fear of failure - fear of being ignored - to take over.

(read more)

Negation blues

There’s a nasty little difficulty in the design of LES: negative literals.

(read more)

Ungglish

Do you ever wish that people who don’t speak English could still understand your writing? Would you like your software’s UI to have a reasonably reliable automatic translation?

(read more)

Thanks

I would just like to thank Chris, Shawn, and Jonathan, who emailed in support of my work after my last blog post. While you guys don’t have time right now to help develop Loyc or Enhanced C#, it’s nice to know there are people reading and liking my blog!

(read more)

Coders' block

I’ve had an intense passion for creating programming languages for over fifteen years. I started writing a specification for my first design around December 1999. In 2007 I started “Loyc”, which was going to be a multi-syntax compiler based on popular programming languages, but it didn’t attract any interest and I abandoned the idea two or three years later. Instead I took up a hobby making data structures and creating miniature alternatives to popular libraries like NUnit, but once again these attracted very little interest, especially the fanciest and most difficult family of data structures I created, the ALists. In 2012 I started building the ANTLR competitor LLLPG and created LES version 1 as a work product, all in the service of my bigger plan to create Enhanced C#. I wrote all about LLLPG on CodeProject and followed up with a Visual Studio SFG for it. In the end I was able to get a few dozen upvotes, but I could never confirm that I had any users, even after Enhanced C# became available as the input language.

(read more)