From cb588bf0707521df5b11a65405c49b96e86f3bee Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 2 Oct 2021 23:50:46 +0100 Subject: [PATCH] --- 3d_gpu/architecture/dynamic_simd.mdwn | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/3d_gpu/architecture/dynamic_simd.mdwn b/3d_gpu/architecture/dynamic_simd.mdwn index 904211b80..d16ddff56 100644 --- a/3d_gpu/architecture/dynamic_simd.mdwn +++ b/3d_gpu/architecture/dynamic_simd.mdwn @@ -24,10 +24,13 @@ overrides. * To extend nmigen "Type 1 (ast.*)" low-level language constructs with `Value.__Cat__`, `Value.__Switch__`, `Value.__Repl__` etc. -* To rename `ast.Cat` etc to `ast._InternalCat` -* In an identical conceptual fashion as python `operator.add` - to redirect `ast.Cat` to `Value.__Cat__` etc. -* To have `Value.__Cat__` etc call the now-renamed `ast._InternalCat` +* To rename existing old `ast.Cat` etc to new `ast._InternalCat` +* In an identical conceptual fashion, just as + as python `operator.add(x,y)` redirects to `x.__add__(y)`, + to add a new `ast.Cat(x..)` which redirects to`x.__Cat__(...)` etc. +* To add `Value.__Cat__` etc which call the now-renamed `ast._InternalCat` +* To allow all of the new underscore variants to be overridden without + limitation, restriction, or restraint. The second set of changes is targetted at Type 2 dsl.Module, to complete the 98% abstraction from Type 1 to a 100% level -- 2.30.2