ayb/G
2
2
Fork
You've already forked G
0
A functional programming language based on graph reduction
  • C 96.5%
  • Makefile 1.6%
  • Assembly 1.2%
  • GAP 0.7%
Find a file
2021年02月24日 11:31:06 +01:00
eg First version of the disassembler. 2021年02月18日 17:11:37 +01:00
x86_64 Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
.clang_complete Initial infrastructure for teh backend. 2021年02月19日 15:47:33 +01:00
.gitignore First version of the disassembler. 2021年02月18日 17:11:37 +01:00
asm.c Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
asm.h Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
bblock.c Initial infrastructure for teh backend. 2021年02月19日 15:47:33 +01:00
bblock.h Initial infrastructure for teh backend. 2021年02月19日 15:47:33 +01:00
commongen.c Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
commongen.h Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
dag.c First version of the assembler. 2021年02月17日 15:17:22 +01:00
dag.h First version of the disassembler. 2021年02月18日 17:11:37 +01:00
disasm.c Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
disasm.h Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
gc.c Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
LICENSE Initial commit. 2021年02月16日 15:51:56 +01:00
mkfile Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
README.org First version of the assembler. 2021年02月17日 15:17:22 +01:00
test.abc Integrated the x86_64 backend. 2021年02月24日 11:31:06 +01:00
utils.c First version of the disassembler. 2021年02月18日 17:11:37 +01:00
utils.h First version of the disassembler. 2021年02月18日 17:11:37 +01:00

G (WIP)

G is a functional programming based on graph reduction. Its main source of inspiration is Clean. G also uses the same ABC machine for its backend. Here is a small taste of it:

 fac 0 = 1
 fac n = n * (fac (n - 1))
 Start = fac 20