Basic Data Types

FLX language provides the following basic data types. The data types of FLX VM are implemented using corresponding Kotlin data types.

  1. Boolean type with values: true and false
  2. Null corresponding the nil value in Lisp and null value in Kotlin. However in FLX, the null value is an object unlike in Kotlin.
  3. Numeric types:
    • Double
    • Float
    • Int
    • Long
    • Byte
  4. String
  5. Char
  6. List : Implemented using Kotlin’s List<Any>
  7. Set : Implemented using Kotlin’s Set<Any>
  8. Array : Implemented using Kotlin’s Set<Any>
  9. Map : Implemented using Kotlin’s Map<Any, Any>