texmf-dist/source/support/texaccents/compiler.inc
raw| 1 | * Compiler.inc |
| 2 | * Gregory White <[email protected]> |
| 3 | * Posted to the Snobol list (March 2003) |
| 4 | * and adapted as a function |
| 5 | |
| 6 | DEFINE('COMPILER()') :(COMPILER_END) |
| 7 | compiler |
| 8 | IDprocessor :($('COMPILER' SIZE(DATE()))) |
| 9 | COMPILER17 compiler = 'SPITBOL' :(return) |
| 10 | COMPILER19 compiler = 'CSNOBOL4' :(return) |
| 11 | COMPILER20 compiler = 'SNOBOL4+' :(return) |
| 12 | compiler_end |
| 13 | * Uses the different size of DATE() to detect the compiler used |
| 14 |