| © |
2000-2008 D. Gruntz |
|
FHNW |
Last update:
1. September 2008
|
|
|
|
|
|
A Generic Computer Algebra Library in Oberon
|
|
|
|
|
|
Abstract
It is discussed how generic computer algebra algorithms can be implemented in an existing general-purpose programming language as a well encapsulated library. We show the advantages of such an approach and explain the key issues of an existing implementation in Oberon. One of the most important design issues - the type hierarchy - is explained. The implementation relays on Oberon's type system being in the middle between full compile-time and run-time type checking. For those special cases which would require multiple inheritance or supertyping we propose to use a message passing mechanism.
Paper
PDF
|
|