User loginNavigation |
Compiling a Subset of APL Into a Typed Intermediate Language
Compiling a Subset of APL Into
a Typed Intermediate Language
by Martin Elsman, Martin Dybdal Traditionally, APL is an interpreted language ... In this paper, we present a compiler that compiles a subset of APL into a typed intermediate representation, which should serve as a practical and well-defined intermediate format for targeting parallel-architectures through a large number of existing tools and frameworks. The intermediate language is conceptually close to the language Repa. It supports shape-polymorphic functions and types that classify shapes. The compiler takes a simplified approach to certain aspects of APL. Following other APL compilation approaches, the compiler is based on lexical (i.e., static) identifier scoping and has no support for dynamic compilation (APL execute).Terseness of APL is legendary, for good or bad. I keep finding more and more papers by Haskell community (and especially GHC contributors) working on efficient (parallel) arrays in Haskell. |
Browse archives
Active forum topics |
Recent comments
33 weeks 2 days ago
33 weeks 2 days ago
33 weeks 2 days ago
1 year 3 weeks ago
1 year 7 weeks ago
1 year 9 weeks ago
1 year 9 weeks ago
1 year 11 weeks ago
1 year 16 weeks ago
1 year 16 weeks ago