X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=MUDDLE%2Fc.ubd026;fp=MUDDLE%2Fc.ubd026;h=185ab52f3418667665f438085c5c59cec4278d34;hb=39c5769144e7f2a58076bdb973d2c80fa603345c;hp=0000000000000000000000000000000000000000;hpb=bab072f950a643ac109660a223b57e635492ac25;p=pdp10-muddle.git diff --git a/MUDDLE/c.ubd026 b/MUDDLE/c.ubd026 new file mode 100644 index 0000000..185ab52 --- /dev/null +++ b/MUDDLE/c.ubd026 @@ -0,0 +1,390 @@ + + + + + + (SEVERITY STR "TUPLE" TEXT) + + + + + + ) + (<==? > ATOM> >) + (ELSE >)> + ;"Space" + > + ) + (<==? .SEVERITY STOP> )>> + + + + + + + +>> + +>> + + + + + +> + > + >> + + + + + + + > + > + +>> + > + > >>> + + + +> + >> + +> + > + >> + +> + + + >> + +> + > + >> + >> + + WORD> + >> + >>> + > + >) + (ELSE + > + -1>> + >>)>> + +> + .PRINFLG >> + +> + +> + > + > + + 2>>> + 1>>>> + +> + > + >> + + + +>> + + + + > + + + + + + + (NAME "OPTIONAL" (PFLG <>) "NAME" COMPILER) + ATOM>> + ) + (> + ) + ( FUNCTION>> + )> + > ;"Recursive calls" + > + ;"Remove" + > + + + > + > + + + >>> + + + LIST> > + > + + > + ATOM> + + + + + + ) + (<==? .MODE EXTRA> + + + + ) + (<==? .MODE OPTIONAL> + > + > + + + + + + + + + + ) + (ELSE )>) + ( LIST> <==? 2>> + + + > + > + + ) + (<==? .MODE OPTIONAL> + > + > + + > + + + + + > + + + + ) + (ELSE + )>) + (<==? STRING> + ) + ( <=? .ITEM "AUX">> + ) + (ELSE + + )>) + (ELSE )> + > >> + > + + + > + > ATOM> ;"Activation name ?" + + > + > + > + > > + > ;"Go do the real compilation for this object" + ;"Next object in the body" + >> + > + +) AGAIN:TAG EXIT:TAG) + + > > + > ATOM> + + > + > + EXTRA> + > > + >> + > + > ATOM> >> + > + > >> + > + + > + +)) + ) + (ELSE + > + > > + + > + + )>> + + + ;"Is there some function to compile this object ?" + THIS:TYPE> + ;"Is there some function for this type ?" + ,REFERENCE!-SETUP> + .OBJECT>> + + + + + >> + THIS:OBJECT >> + )) + < + ;"Do we know how to apply this ?" + APPLY:TYPE> + ;"Apply this type ?" + APPLY:PRIMTYPE> + ;"This primtype ?" + + ;"Otherwise go to eval with form" + + >> + .OBJ>>>> + + ;"Try again with the global value if possible" + + ) + ( > + ;"Else with local value" + + + ) + (ELSE + + + ;"Otherwise go to EVAL with the form" + + )>>> + + > > + > + + >>>> + > ;"Get atomic name of RSUBR" + + + + > > + > + + >>>> + 2>> + > + > ;"Get the structure" + + ;"Get the indicator" + + >> + + + 2> + > + > + >> + > ) + (<==? 1> + > + + ) + (ELSE )>>> + 2>> + > + >>> + )) + > > + > + >> + > + > + + > > + >> + + + > >> + >> + ,TEST:TRUE!-SETUP T>>> + ,TEST:FALSE!-SETUP #FALSE ()>>>> + + + + +                                                                              \ No newline at end of file