Skip to content

Commit c8159ea

Browse files
author
Jacob Austin
authored
Update README.md
1 parent fdf433d commit c8159ea

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,18 @@ SNameError: name 'x' is not defined
363363

364364
Coral does not have classes, structs, or any kind of object oriented programming model. These could easily be added using the same model as lists, but they have not been so far.
365365

366+
### No Casting
367+
368+
For no particular reason, Coral does not support casting between types. That means there is no int, float, bool, or str keyword to convert between types explicitly. Likewise, you cannot perform arithmetic operations that mix types, as in
369+
370+
```python
371+
x = 3
372+
y = 4.0
373+
print(x + y)
374+
```
375+
376+
This is an important feature, and will hopefully be added soon.
377+
366378
### Unsupported Keywords
367379

368380
Coral does not support several common Python keywords, including:

0 commit comments

Comments
 (0)