]> ocean-lang.org Git - ocean/commit
oceani: initial support for named types.
authorNeilBrown <neil@brown.name>
Mon, 22 Apr 2019 01:17:03 +0000 (11:17 +1000)
committerNeilBrown <neil@brown.name>
Wed, 1 May 2019 08:07:11 +0000 (18:07 +1000)
commite540d72cf62c4e120b2ff8c661ee60316e486650
tree6a74aa42d0c930290cb9b3d97991423d561a4a57
parentda44daa2e2ee5e33928e978fae462befa49bc84a
oceani: initial support for named types.

The base types are now stored in a symbol table (linked list)
and can be fetched by name.
  name:type = value

now works to declare 'name' as of the given type.

The narrative needs to be improved to include a clear
section on types, and variable declarations of the form
   name:type

with no assignment still need to be added.

Signed-off-by: NeilBrown <neil@brown.name>
csrc/oceani.mdc