Rune - Reformulate "unrestricted" scope for core types 2/2
authorMatthew Dillon <dillon@backplane.com>
Tue, 30 May 2023 06:41:58 +0000 (23:41 -0700)
committerMatthew Dillon <dillon@backplane.com>
Tue, 30 May 2023 06:41:58 +0000 (23:41 -0700)
commit25dfc9eca22f15104f5acff2aae3e4457dc56cb0
treea991c6641e71796209bc0b125a8d02c8612b4515
parent4dba75e5c29510c7b7596c5185323b18d52129d6
Rune - Reformulate "unrestricted" scope for core types 2/2

* Remove "unrestricted", replacing it with "struct" and "substruct".

* Change "interface" from a statement to a scope qualifier. So we
  now say "interface struct ..." or "interface subclass ..." and
  so forth.
24 files changed:
classes/gfx/frame.d
classes/stdio/file.d
classes/sys/class.d
classes/sys/fd.d
classes/sys/fstat.d
classes/sys/runtime.d
classes/sys/str.d
classes/sys/stream.d
docs/grammar.html
librune/defs.h
librune/lex.h
librune/parse1.c
librune/parse2.c
librune/resolve.c
librune/sym.c
librune/sym.h
librune/type.c
librune/typeq.c
tests/cast.d
tests/defaults.d
tests/defaults2.d
tests/defaults3.d
tests/method.d
tests/struct.d [moved from tests/unrestricted.d with 83% similarity]