cherry issueshttps://gitlab.tha-imax.de/ruun/cherry/-/issues2017-10-28T07:41:57Zhttps://gitlab.tha-imax.de/ruun/cherry/-/issues/2Extend runtime environment with necessary core primitives2017-10-28T07:41:57ZChris MüllerExtend runtime environment with necessary core primitivesThe runtime environment needs a proper set of primitives for
converting, processing and handling cherry's datatypes. The following functions
should be available:
Arithmetic:
* or
* and
* not
* + (Addition)
* - (Subtraction)
* ...The runtime environment needs a proper set of primitives for
converting, processing and handling cherry's datatypes. The following functions
should be available:
Arithmetic:
* or
* and
* not
* + (Addition)
* - (Subtraction)
* * (Multiplication)
* / (Division)
* mod (Modulo)
* rem (Remainder)
* = (arithmetic equal)
* equal? (structure equal)
Lists:
* list?
* list->string
* length
* cons
* head
* tail
* get
* sublist
* reverse
* range
* append
* filter
* map
Strings:
* string?
* string-eq?
* string->list
* string->symbol
* string->fixnum
* string->float
* string-length
* substring
Alpha Version 0.1Chris MüllerChris Müller