Build out builtins #1

Closed
opened 2024-09-04 22:15:20 +00:00 by lmika · 2 comments
Owner

Build out the supported builtins for the core language. The set of builtins that need to be added/refined are:

  • eq - change to be strongly typed (values of different types should return false)
  • ne, gt, ge, lt, le - as above
  • str - convert value to a string
  • int - convert value to an int
  • add, sub, mup, div, mod - integer functions
  • cat - string concatination
  • and, or, not
Build out the supported builtins for the core language. The set of builtins that need to be added/refined are: - `eq` - change to be strongly typed (values of different types should return false) - `ne`, `gt`, `ge`, `lt`, `le` - as above - `str` - convert value to a string - `int` - convert value to an int - `add`, `sub`, `mup`, `div`, `mod` - integer functions - `cat` - string concatination - `and`, `or`, `not`
Author
Owner

Added eq and ne.

Added `eq` and `ne`.
lmika added reference feature/issue-1 2024-09-05 12:06:57 +00:00
lmika self-assigned this 2024-09-05 12:08:12 +00:00
Author
Owner

Current progress:

  • eq, ne
  • gt, ge, lt, le
  • str - convert value to a string
  • int - convert value to an int
  • add, sub, mup, div, mod - integer functions
  • cat - string concatination
  • and, or, not
Current progress: - [x] eq, ne - [x] gt, ge, lt, le - [x] str - convert value to a string - [x] int - convert value to an int - [x] add, sub, mup, div, mod - integer functions - [x] cat - string concatination - [x] and, or, not
lmika closed this issue 2024-09-06 23:38:42 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lmika/ucl#1
No description provided.