Hacker GitHub

← All repos

shinh/elvm

View on GitHub ↗ ★ 1,270 C

EsoLangVM Compiler Infrastructure

18 mentions on Hacker News by 14 people: 3 stories, 15 comments · first 2016-12-09 · latest 2024-07-02

Mentions per year 18 mentions · busiest year 2021 (6)
20082026
  1. …compiled to Vim script using ELVM[1]. Though the author of Vim script backend of ELVM is me :) [1]: https://github.com/shinh/elvm
    comment by rhysd · 2024-07-02 · in 8cc.vim: Pure Vim script C Compiler
  2. …b) https://en.wikipedia.org/wiki/One-instruction_set_computer [1] elvm : https://github.com/shinh/elvm [2] linear lisp : https://github.com/ysharplanguage/LinearLisp [3] tiling : https://writings.stephenwolfram.com/2023/11/aggregat
    comment by sargstuff · 2023-11-05 · in The single instruction C compiler (mov)
  3. ELVM might be a related project, which takes C code and compiles to various languages, including VIM. https://github.com/shinh/elvm
  4. …C source code of the 8cc C compiler to lambda calculus? So like C -> ELVM IR -> lambda calculus? https://github.com/shinh/elvm If so, it seems like 8cc is doing most of the heavy lifting
  5. …) and ELVM (which can compile C into awk or sed, among various other things) ( https://github.com/shinh/elvm )
    comment by cogburnd02 · 2022-01-09 · in awkcc: awk-to-C transcompiler (1988, 2011)
  6. …but portable) C program such as info-zip compiled to bf via ELVM [1] and do a speed comparison. https://github.com/shinh/elvm
  7. ELVM ( https://github.com/shinh/elvm ) is a C compiler with a Turing machine backend.
    comment by davidweichiang · 2021-09-13 · in A Simulator of a Universal Turing Machine (2017)
  8. ELVM [0] also has a C++14 constexpr target, also using 8cc as the frontend ! [0] https://github.com/shinh/elvm
    comment by rkeene2 · 2021-08-09 · in Constexpr is a Platform (2020)
  9. A C compiler that can output Malbolge (among many other esolangs) can be found at https://github.com/shinh/elvm - dunno if it has any relation to this work. Note that the Malbolge (or rather LMAO/HeLL) backend was added back in July 2019,…
  10. You are looking for ELVM: https://github.com/shinh/elvm/ (I have seen many others, but in terms of activity it seems the most maintained one.)
    comment by lifthrasiir · 2021-01-09 · in Best of show – abuse of libc
  11. …version of 8cc to compile C into some utterly weird targets. Brainfuck, sed, TeX, whitespace... https://github.com/shinh/elvm
    comment by cogburnd02 · 2020-10-04 · in Chibicc: A Small C Compiler
  12. And for the other direction (C->sed): https://github.com/shinh/elvm
  13. …optimized their reference Befunge implementation & improved codegen for generating numbers: https://github.com/shinh/elvm/pull/18 (Befunge has commands for pushing 0-9 on the stack, have to use arithmetic past that, so old codegen would…
    comment by __s · 2019-02-10 · in EsoLangVM Compiler Infrastructure
  14. & through https://github.com/shinh/elvm here's a lisp implementation: http://shinh.skr.jp/elvm/lisp.png Good tut: http://homepages.vub.ac.be/~diddesen/piet/index.html
  15. Would it be easier to write a HTTP server in C and compile to Brainfuck using ELVM ( https://github.com/shinh/elvm )?