Awesome Tagged Template Literals
Template literals is a pretty simple thing - it is a multiline string with interpolations:
Home Privacy Policy RSS
I’m a software developer interested in UX, a11y, type systems, performance.
Template literals is a pretty simple thing - it is a multiline string with interpolations:
Based on Theory of Computation (CS3102), Spring 2017, videos are here.
Accidental complexity All software construction involves essential tasks, the fashioning of the complex conceptual structures that compose the abstract software entity, and accidental tasks, the representation of these abstract entities in programming languages and the mapping of these onto machine languages within space and speed constraints. Most of the big past gains in software productivity have come from removing artificial barriers that have made the accidental tasks inordinately hard, such as severe hardware constraints, awkward programming languages, lack of machine time.
I like Markdown for its simplicity. Simplicity comes with limitations. There are some features that I miss in Markdown or it is possible to extend Markdown to support these cases, but there is no support from the Hugo side (static site generator I use).
Improve syntax highlighting Traditionally IDE (or text editors) use regular expressions to do syntax highlighting. This approach is limited in what is highlight correctly. They do it because: it will work even for files with syntax errors it is faster than do real parsing on each keystroke (programming languages typically use context-free grammar) Tree-sitter uses incremental parsing, which allows it to do real parsing on each keystroke fast - it reparses only changed region of code and reuses parse tree from the previous parse for the rest.
or an ode to command palette.
Definition I would say that something is programming language (PL) if: 1: there is a machine that can do some actions (computations) based on the text written in the language (program) 2: or this language can be mechanically translated (compiled) to a programming language Now let’s see if we can tell based on this rule if something a PL or not. Machine code? Yes, it can be interpreted by CPU Assembly?
I started to collect small programming languagess that you can implement in a relatively small amount of time for educational purposes.
What is metaprogramming? Sadly there is no single definition on which everybody agrees. So let’s investigate
After reading more about the subject I realized that section “Scanners and parsers” from my previous post needs a correction.
Except where otherwise noted, content on this site is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0