AnyCPU
http://anycpu.org/forum/

clike a retargetable C-ish compiler
http://anycpu.org/forum/viewtopic.php?f=8&t=594
Page 1 of 1

Author:  BigEd [ Wed Apr 10, 2019 3:56 pm ]
Post subject:  clike a retargetable C-ish compiler

As mentioned over on the myStorm forums:

Quote:
Nearby, @metaprogrammer said:

Quote:
Hi! I also explored using tiny ice40 FPGAs for compute acceleration with HLS, have a look at SoC - you can fit quite a surprising amount of logic into those puny 8k cells.

I'd like to know more about the c2 RISC in this project (one of 3 CPUs included!) and also about how readily portable the clike compiler is to other simple machines (and I have in mind OPC7)


Author:  BigEd [ Wed Apr 10, 2019 5:39 pm ]
Post subject:  Re: clike a retargetable C-ish compiler

Notes from the repo:
Quote:
A simple C-like language compiler with an extensible syntax and typed macros support

CLike 0.1 is a low-level programming language with an extensible syntax based on C.

CLike targets LLVM, tested with LLVM 3.5.

CLike is implemented in PFront, a domain-specific language for compiler construction.

C is a very low level language, without any built-in means for extensibility... CLike was designed to expore the design space of extensible syntax languages and a Lisp-style metaprogramming in a statically typed environment.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/