Front Page All Articles Recent Changes Random Article

Contents

Concatenative language

  • ACL
  • Ait
  • Aocla
  • Breeze
  • Callisto
  • Cat
  • Cognate
  • colorForth
  • Concata
  • CoSy
  • Deque
  • DSSP
  • dt
  • Elymas
  • Enchilada
  • ETAC
  • F
  • Factor
  • Fiveth
  • Forth
  • Fourth
  • Freelang
  • Gershwin
  • hex
  • iNet
  • Joy
  • Joy of Postfix App
  • kcats
  • Kitten
  • lang5
  • Listack
  • LSE64
  • Lviv
  • Meow5
  • min
  • Mirth
  • mjoy
  • Mlatu
  • Ode
  • OForth
  • Om
  • Onyx
  • Plorth
  • Popr
  • Porth
  • PostScript
  • Prowl
  • Quest32
  • Quackery
  • r3
  • Raven
  • Retro
  • RPL
  • SPL
  • Staapl
  • Stabel
  • Tal
  • Titan
  • Trith
  • Uiua
  • Worst
  • xs
  • XY
  • 5th
  • 8th

Concatenative topics

  • Compilers
  • Interpreters
  • Type systems
  • Object systems
  • Quotations
  • Variables
  • Garbage collection
  • Example programs

Concatenative meta

  • People
  • Communities

Other languages

  • APL
  • C++
  • Erlang
  • FP trivia
  • Haskell
  • Io
  • Java
  • JavaScript
  • Lisp
  • ML
  • Oberon
  • RPL
  • Self
  • Slate
  • Smalltalk

Meta

  • Search
  • Farkup wiki format
  • Etiquette
  • Sandbox

Factor/Optimizing compiler

Factor's optimizing compiler generates machine code for x86 (32 and 64-bit), as well as PowerPC (32-bit only). The optimizing compiler is written entirely in Factor. Its implementation can be found in basis/compiler/ and basis/cpu/. The optimizing compiler uses SSA form internally, and performs various optimizations, such as type inference, Escape analysis, Register allocation, and so on.

Documentation:

  • https://docs.factorcode.org/content/article-compiler.html

Blog posts describing the architecture of the optimizing compiler:

  • https://factor-language.blogspot.com/2008/08/new-optimizer.html
  • https://factor-language.blogspot.com/2008/08/algorithm-for-escape-analysis.html
  • https://factor-language.blogspot.com/2008/11/new-low-level-optimizer-and-code.html
  • https://factor-language.blogspot.com/2009/07/improvements-to-factors-register.html
  • https://factor-language.blogspot.com/2009/07/improved-value-numbering-branch.html
  • https://factor-language.blogspot.com/2009/07/dataflow-analysis-computing-dominance.html

Related blog posts:

  • https://factor-language.blogspot.com/2008/12/arrays-of-unboxed-primitive-values-and.html
  • https://factor-language.blogspot.com/2009/05/factors-implementation-of-polymorphic.html

Related Wiki articles:

  • Implementation history
  • Optimization
  • Non-optimizing compiler

This revision created on Tue, 16 Jul 2024 23:58:00 by jryans (Fix broken links)

Latest Revisions Edit

All content is © 2008-2024 by its respective authors. By adding content to this wiki, you agree to release it under the BSD license.