Changes between Initial Version and Version 1 of Ticket #1611


Ignore:
Timestamp:
04/24/19 17:17:53 (20 months ago)
Author:
sjamaan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1611 – Description

    initial v1  
    1717I'm thinking something like this:
    1818
    19 ```
     19{{{
    2020(define-intrinsic (chicken.flonum#fp+ x y)
    2121  (check-flonum x)
     
    2828  (##core#inline "C_make_character" (##core#inline "C_unfix" n))
    2929)
    30 ```
     30}}}
    3131
    3232This could even replace the definitions in `library.scm`; then when we are compiling, we could process this code to generate an intrinsics database file, which the compiler can use like types.db.  The above `define-intrinsic` would collapse to a simple `define` while generating `library.so`.