summaryrefslogtreecommitdiffstats
path: root/stdlib/compiler.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-10-17 08:12:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-10-17 08:12:10 -0700
commitce89cfbe11b33ced220a33d228e87d2b3a3f8a8a (patch)
tree4487382d7fd86c7132bccf80ba26b3fab8af8db3 /stdlib/compiler.tl
parent061d34050fcedfec5ceaf6e46657775a3cc4246a (diff)
downloadtxr-ce89cfbe11b33ced220a33d228e87d2b3a3f8a8a.tar.gz
txr-ce89cfbe11b33ced220a33d228e87d2b3a3f8a8a.tar.bz2
txr-ce89cfbe11b33ced220a33d228e87d2b3a3f8a8a.zip
defstruct: new :inherit clause.
The :inherit clause allows custom struct clauses to inject inherited bases. * stdlib/struct.tl (defstruct): Recognize :inherit clause, adding symbol arguments to extra list of supers that get appended to the list coming from defstruct's seconda rgument. (define-struct-clause): Disallow :inherit clause name. * tests/012/oop-dsc.tl: New tests. * txr.1: Documented.
Diffstat (limited to 'stdlib/compiler.tl')
0 files changed, 0 insertions, 0 deletions