Search
- Functional Programming, Program Transformations, and Compiler Construction
*Neel Krishnaswami · Published 2011-08-08 · Source: <https://semantic-domain.blogspot.com/2011/08/functional-programming-program.html>* --- I just discovered that Lex Augusteijn's 1993 PhD thesis, [*Functional Programming, Program
- Compiling dynamic programming languages
interpreters (e.g. YARV Ruby, CPython, V8, Zend Engine, etc.). But for many languages, a compiled implementation also exists. Cython, Chicken Scheme and SBCL are good examples. In this post I will briefly describe how I built a compiler
- scheme modules vs whole-program compilation: fight
*Andy Wingo · Published 2024-01-05 · Source: <https://wingolog.org/archives/2024/01/05/scheme-modules-vs-whole-program-compilation-fight>* --- In a recent dispatch, I explained [the whole-program compilation strategy used in Whiffle and
- Compiling a Lisp: The smallest program
program today. Before we actually compile anything, though, let’s build up a bit of a foundation for code execution. That way, we can see the code compile *and* run *and* be satisfied with the results of both. Instead of compiling to
- Program Analysis Reading List
*Rolf Rolles · Published 2012-04-22 · Source: <https://www.msreverseengineering.com/blog/2014/6/23/program-analysis-reading-list>* --- [Originally posted April 22nd, 2012 on the Reverse Engineering Reddit](http://www.reddit.com/r
- 57 Small Programs that Crash Compilers
anything just by looking at these? It’s hard to say… many of these C fragments are not obviously hard to compile — to see the problem we would need to know the details of the translation to a particular compiler’s intermediate
- Compiling a Lisp: Integers
possible integers) so the implementation is short and sweet. If we see a literal integer, encode it and put it in `rax`. Done. ```c // Compile int Compile_expr(Buffer *buf, ASTNode *node) { if (AST_is_integer(node)) { word value
- Compiler Internals
*MLC Community · Published 2026 · Source: <https://mlc.ai/modern-gpu-programming-for-mlsys/tirx_guide/arch/>* --- This section explains how the TIRx compiler lowers an authored module into a CPU-side launcher and GPU device code. It
- Zig Programming Language Blurs the Line Between Compile-Time and Run-Time
It doesn't make sense that a program could call `exit()` (or any other external function) at compile-time, so this is a compile error. However, a `comptime` expression does much more than sometimes cause a compile error. Within a `comptime
- Compilers: Incrementally and Extensibly
or compiling code with variables. This technique is used in the present course. --- *Compilers* is a practical course. Its goal is to build a real compiler, which compiles a high-level language down to the actual x86-64 machine code
- guile compiler tasks
delimited continuations when compiling some kind of construct that includes a break statement to Guile, whether that compiler is part of Elisp or just implemented as a Scheme macro. But, many instances of prompts can be contified, resulting
- Compiler driver and cross compilation
*Fangrui Song (MaskRay) · Published 2021-03-28 · Source: <https://maskray.me/blog/compiler-driver-and-cross-compilation>* --- Updated 2023-03. The `gcc` program is a compiler driver. It invokes other programs to do the work of
- Amarna: Static analysis for Cairo programs
for the [Cairo](https://www.cairo-lang.org/) programming language. Cairo is a programming language powering several trading exchanges with millions of dollars in assets (such as [dYdX](https://dydx.exchange/), driven by [StarkWare](https
- Compiling Expressions
compiler_h #include "vm.h" bool compile(const char* source, Chunk* chunk); #endif ``` We pass in the chunk where the compiler will write the code, and then `compile()` returns whether or not compilation succeeded. We make the same
- The Problem with Dynamic Program Analysis
emerges-from-hacking-team-leak/) in the wild. Most of today’s bug-finding finding tools are *dynamic*: they identify bugs in programs while those programs are running. This is great because all programs have massive test suites that
- a baseline compiler for guile
The baseline compiler skips any kind of flow analysis: there's no closure optimization, no contification, no unboxing of tagged numbers, no type inference, no control-flow optimizations, and so on. The only whole-program analysis that is
- What is static program analysis?
program might have an out-of-bounds error for an array at the following expression: ```text a[i] ``` First, change all possible exit points in the program into infinite loops. Now the program is *guaranteed* to non-terminate. Then
- abusing the c compiler
text (define (dirent->name ent) (define name-offs 11) (%peek-string (+ ent name-offs))) ``` Cool, no? The C compiler is only needed at compile-time, not at run-time. Further details can be seen at Felix Klock's 2008 [paper on Larceny
- Staging, Program Generation, Meta-Programming
symbolic differentiation](#diff-typeclass) - [Symbolic differentiation and optimization of compiled numeric functions](#diff-th) - [Typed Tagless (Staged) Interpretations.](/u/c69ad4023c5940cd) Typechecking, staging, and dependent types
- Dynamic Program Analysis and Software Exploitation
compilation of the state of the art in program analysis, a real implementation based on an extension to the Microsoft Debugger for tracing and a GUI application to actually do such analysis and help determine not just if something is