サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
www.wilfred.me.uk
I’ve always wanted a structural diff tool, so I built difftastic. This has been the most fascinating, most frustrating, and most challenging program I’ve ever written. How Hard Could It Be? If you write Lisp code for a while, you start to see code like JSON. Everything is basically a list. json-diff example json-diff already exists, and it’s pretty good. I wanted something similar for programming
Suggest.el v0.4 is now out, and it offers some really interesting new ways of making suggestions. Supplying Constants Suppose the user gives us the input '(a b c d) and desired output 'a. We would already suggest car, but that only gets the first element of the list. They may have wanted elt or nth, which get elements at a specific position. We now try adding constants to the user’s inputs, specif
I’ve just released v0.3 of suggest.el, an Emacs package for discovering elisp functions. You supply an example input and output, and it makes suggestions. v0.3 is much smarter, and almost magical in places. Let’s take a look. What is this, anyway? Just look at this awesome Emacs mode. (It's https://t.co/wBOvlM0ixK and @_wilfredh did it) pic.twitter.com/5SV1MgnHJP — ☭🚀🐕 Bodil 🐕🚀☭ (@bodil) Augus
A walkthrough of writing a basic compiler with LLVM. No prior experience assumed. In a short space of time, I was able to go from zero C++ knowledge, and no experience with LLVM, to a fully-fledged compiler. It’s a lot of fun, let me show you how! Our compiler will accept programs written in BF. This is a classic toy language for compilers, and there is even a BF compiler in LLVM’s examples direct
I am delighted to announce Remacs, a project to port Emacs to Rust! Emacs, at its heart, is a lisp interpreter written in C. In Remacs, we’re replacing this C code with Rust, and all the elisp you know and love will just work. If you’ve ever fancied contributing to core Emacs, this is a great opportunity to learn the internals. There’s tons of low hanging fruit, we have a list of good first bugs a
Writing a major mode is a rite of passage for elisp hackers. Sooner or later, you will find a programming language or configuration format that is too new or obscure to have Emacs support. You decide to roll up your sleeves and plug this hole in the Emacs ecosystem. How do you write a major mode? What will make your major mode great? 1: Getting Started The bare minimum for a major mode is a syntax
What do you expect your editor to highlight? What are the different ways that we can highlight code without calling external tools? Whilst most editors have converged on a common set of base functionality, there’s still innovation occurring in this field. The limitation of highlighting tools is that you can’t use all of them at the same time. We’ll explore what’s available to help you choose. I’m
I used to think that macros were just a feature that a language included or lacked. In practice, there’s a huge design space of how macro systems can be implemented. I thought it would be interesting to take a look at implementing the same two macros in different languages. We’ll look at both established macro systems and newer languages. We’ll compare readability, robustness and safety in each la
Recently, I’ve been writing a lot of Emacs Lisp. I’ve been trying to write as many of my own tools as possible in elisp, to see what the language works well at and what it doesn’t do well. Turns out, elisp does many things well. However, there are several libraries that make life much easier. (Disclaimer: I’ve written some of them.) Lists Firstly, dash.el, which describes itself as “a modern list
このページを最初にブックマークしてみませんか?
『Wilfred Hughes::Blog』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く