diff --git a/README.md b/README.md index 032e9d3..c1fe537 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ a smurf village and lego bricks. * Local laser pointers [BãßBȍőnSpiderTest](nx01-jpp-base/src/test/java/ᒢᐩᐩ/ᒃᣔᔆᔆᒃᐤᐤᣕ/ᒄᓫᣔᐪᑋ/ᔆᣖᑊᒄᓫᣗ/BãßBȍőnSpiderTest.java) * Lego stair way [LegoBrickStairWay](nx01-jpp-base/src/main/java/ᒢᐩᐩ/ᒡᒢᑊᒻᒻᓫᔿ/ᣳᣝᐤᣜᣳ/ᒢᓫᑊᐣᑊ/LegoBrickStairWay.java) * LegoᐧBrickᐧTapeᐧReplicatorᐧχ3 [LegoBrickTapeStudio](nx01-jpp-base/src/main/java/ᒢᐩᐩ/ᒡᒢᑊᒻᒻᓫᔿ/ᣳᣝᐤᣜᣳ/ᒢᓫᑊᐣᑊ/LegoBrickTapeStudio.java) -* Enterprise mainframe text [FCDotCDC1604DashP6](nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FCDotCDC1604DashP6.java) +* Enterprise mainframe text [FCDotCDC1604DashP6](nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotCDC1604DashP6.java) ## Code of Conduct diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java new file mode 100644 index 0000000..ba44e45 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCake.java @@ -0,0 +1,147 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18; + +import java.util.Optional; + +/// +/// The dot cake index of four corner 18 bit words in cake slices which holds the cake points. +/// +/// @author Willem Cazander +/// @version 1.0 Dec 28, 2024 +public enum FourCornerDotCake { + + // =========== Allow small terminators to take over 6 bit main frame computers + + /// Character Dough Cake + FC_CDC1604_P6(0, 64), + /// Direct or Escaped Control + FC_DEC1604_E6(64, 64), + /// Reserved for future 6 bit cake + __RESERVED_1604_EXT1(128, 64), + /// Reserved for future 6 bit cake + __RESERVED_1604_EXT2(192, 64), + + // =========== Allow end-user select rendering of data per context + + // Interim Byte Mode, embed raw 8 bit Data + FC_IBM1616_D8(256, 256), + /// Reserved for future data grams use + __RESERVED_DATAGRAMS(512, 1464-512), + + // Octal Character Encoding in Hinari 3 bit + FC_OCE0801_H3(1464, 8), + // Octal Character Encoding in Hinari 6 bit + FC_OCE0808_H6(1472, 64), + // Octal Character Encoding in Hinari 9 bit + FC_OCE0864_H9(1536, 512), + + // =========== Allow big terminators to learn a computer math + + /// New Counting Rods, Flags and shorthands. + FC_NCR1632_0F(2048, 512), + /// New Counting Rods, Optional prefix for terminator multiplier, biggest terminator is "2^(512*512)" which is very small. + /// 0M + (1T*0M) + (1V*M0) + FC_NCR1632_0M(2560, 512), + /// New Counting Rods, One or more terminator pie select as big indian. + /// Without FC_NCR1632_0M prefix, FC_NCR1632_0M.NXX_001 is selected for single 1T 9 bit select and value cake points. + FC_NCR1632_1T(3072, 512), + /// New Counting Rods, One or more terminator values until out of range. + FC_NCR1632_1V(3584, 512), + + // =========== Allow FileName/Variable/Class/Method/etc/etc to spelled correctly in any language + + /// China Four Corner words with FIXED meaning for abstract translations, to make code without letters. + FC_WORDS(4096, 100000), // 4 or 5 decimals come from four corner index 0000.0 = 00000 = first word index = "head" = "亠" + /// Reserved four corner extra words + __RESERVED_WORDS_EXT1(4096+100000, 131072-100000-4096), // fc end = 2^17-1 + /// 50% mark, reserved for future use + __RESERVED_WORDS_EXT2(131072, 65536), // end = 131072+(2^16)-1 + + // =========== Allow digital language constructs to be constants + + /// Code Language Keywords for VHDL/C++ and Java/etc which allows a user to load a custom word dictionary. + /// TODO: Add a few more sources and do a few dedup alias rename sessions AND abbr... unpacking + aliasses + FC_CLK9P_A(196608 + (512*0), 512), // start at "2^17+2^16" + FC_CLK9P_B(196608 + (512*1), 512), + FC_CLK9P_C(196608 + (512*2), 512), + FC_CLK9P_D(196608 + (512*3), 512), + FC_CLK9P_E(196608 + (512*4), 512), + FC_CLK9P_F(196608 + (512*5), 512), + FC_CLK9P_G(196608 + (512*6), 512), + FC_CLK9P_H(196608 + (512*7), 512), + FC_CLK9P_I(196608 + (512*8), 512), + FC_CLK9P_J(196608 + (512*9), 512), + FC_CLK9P_K(196608 + (512*10), 512), + FC_CLK9P_L(196608 + (512*11), 512), + FC_CLK9P_M(196608 + (512*12), 512), + FC_CLK9P_N(196608 + (512*13), 512), + FC_CLK9P_O(196608 + (512*14), 512), + FC_CLK9P_P(196608 + (512*15), 512), + FC_CLK9P_Q(196608 + (512*16), 512), + FC_CLK9P_R(196608 + (512*17), 512), + FC_CLK9P_S(196608 + (512*18), 512), + FC_CLK9P_T(196608 + (512*19), 512), + FC_CLK9P_U(196608 + (512*20), 512), + FC_CLK9P_V(196608 + (512*21), 512), + FC_CLK9P_W(196608 + (512*22), 512), + FC_CLK9P_X(196608 + (512*23), 512), + FC_CLK9P_Y(196608 + (512*24), 512), + FC_CLK9P_Z(196608 + (512*25), 512), + __RESERVED_CLK9P_AMP(196608 + (512*26), 512), // end at 210432 + + // Encode 72 bit Unicode-4, which drawing without color, but can contain the 21 bit unicode1 codePoint data within. + //RC_UNI4072_4D(), // _WORD_ESC + _TEST_UNICODE4 + + manyStrokeBlocks + + __RESERVED_TO_END(__RESERVED_CLK9P_AMP.getStart()+__RESERVED_CLK9P_AMP.getLength(), 262144 - __RESERVED_CLK9P_AMP.getStart()), + ; + + private final int start; + private final int stop; + + private FourCornerDotCake(int start, int size) { + this.start = start; + this.stop = start + size - 1; + } + + public int getStart() { + return start; + } + + public int getStop() { + return stop; + } + + public int getLength() { + return stop - start + 1; + } + + public static Optional valueOfInt18(int smurfPaint) { + for (FourCornerDotCake value:values()) { + if (smurfPaint >= value.getStart() && smurfPaint <= value.getStop()) { + return Optional.of(value); + } + } + return Optional.empty(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCakePoint.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCakePoint.java new file mode 100644 index 0000000..e70d989 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerDotCakePoint.java @@ -0,0 +1,32 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18; + +/// Number index retriever for four corner cake points. +/// +/// @author Willem Cazander +/// @version 1.0 Dec 28, 2024 +public interface FourCornerDotCakePoint { + + int cakePoint(); +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplay.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplay.java index c3efc42..df4dd81 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplay.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplay.java @@ -27,6 +27,7 @@ import java.util.Iterator; import java.util.List; import java.util.function.Consumer; +import org.x4o.o2o.fc18.zero33.FCDotCDC1604DashP6; import org.x4o.o2o.octal.PrimordialOctalOrangeJuiceCord; /// Renders unicode from four corner 18 bit text. diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeImport.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeImport.java index aed02a1..ff0e515 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeImport.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FourCornerUnicodeImport.java @@ -26,6 +26,7 @@ import java.util.ArrayList; import java.util.List; import java.util.PrimitiveIterator; +import org.x4o.o2o.fc18.zero33.FCDotCDC1604DashP6; import org.x4o.o2o.octal.PrimordialOctalOrangeJuiceCord; import org.x4o.o2o.octal.PrimordialOctalOrangeString; @@ -102,7 +103,7 @@ public class FourCornerUnicodeImport { } int cdcNumberOff = codePoint - '1'; // 0 = 1 int cdcNumber = FCDotCDC1604DashP6.NX01_A.ordinal() + cdcNumberOff; - result.add(FCDotCDC1604DashP6.values()[cdcNumber]); + result.add(FCDotCDC1604DashP6.indexOf(cdcNumber)); found = true; break; } diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashA.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashA.java new file mode 100644 index 0000000..6b109f1 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashA.java @@ -0,0 +1,76 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter A. + * + * @author Willem Cazander + * @version 1.0 Dec 29, 2024 + */ +public enum FCDotCLK9PDashA implements FCDotCLKSourceCakePoint { + + ABS(FCDotCLKSource.VHDL), + ACCESS(FCDotCLKSource.VHDL), + AFTER(FCDotCLKSource.VHDL, FCDotCLKSource.ERLANG), + ALIAS(FCDotCLKSource.VHDL), + ALL(FCDotCLKSource.VHDL), + AND(FCDotCLKSource.VHDL, FCDotCLKSource.CPP, FCDotCLKSource.ERLANG, FCDotCLKSource.PYTHON), + ARCHITECTURE(FCDotCLKSource.VHDL), + ARRAY(FCDotCLKSource.VHDL), + ASSERT(FCDotCLKSource.VHDL, FCDotCLKSource.JAVA, FCDotCLKSource.PYTHON), + ATTRIBUTE(FCDotCLKSource.VHDL), + ALIGNAS(FCDotCLKSource.CPP), + ALIGNOF(FCDotCLKSource.CPP), + AND_EQ(FCDotCLKSource.CPP), + ASM(FCDotCLKSource.CPP), + ATOMIC_CANCEL(FCDotCLKSource.CPP), + ATOMIC_COMMIT(FCDotCLKSource.CPP), + ATOMIC_NOEXCEPT(FCDotCLKSource.CPP), + AUTO(FCDotCLKSource.CPP), + ABSTRACT(FCDotCLKSource.JAVA, FCDotCLKSource.RUST), + ANDALSO(FCDotCLKSource.ERLANG), + AS(FCDotCLKSource.RUST, FCDotCLKSource.PYTHON), + ASYNC(FCDotCLKSource.RUST), + AWAIT(FCDotCLKSource.RUST, FCDotCLKSource.ES6), + ARGUMENTS(FCDotCLKSource.ES6), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashA(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_A.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashB.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashB.java new file mode 100644 index 0000000..8bfab83 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashB.java @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter B. + * + * @author Willem Cazander + * @version 1.0 Dec 29, 2024 + */ +public enum FCDotCLK9PDashB implements FCDotCLKSourceCakePoint { + + BEGIN(FCDotCLKSource.VHDL), + BLOCK(FCDotCLKSource.VHDL), + BODY(FCDotCLKSource.VHDL), + BUFFER(FCDotCLKSource.VHDL), + BUS(FCDotCLKSource.VHDL), + BITAND(FCDotCLKSource.CPP, FCDotCLKSource.ERLANG.toQNameAlias("band")), + BITOR(FCDotCLKSource.CPP, FCDotCLKSource.ERLANG.toQNameAlias("bor")), + BOOL(FCDotCLKSource.CPP, FCDotCLKSource.JAVA.toQNameAlias("boolean")), + BREAK(FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON, + FCDotCLKSource.ES6), + BYTE(FCDotCLKSource.JAVA), + BITNOT(FCDotCLKSource.ERLANG.toQNameAlias("bnot")), + BITXOR(FCDotCLKSource.ERLANG.toQNameAlias("bxor")), + BECOME(FCDotCLKSource.RUST), + BOX(FCDotCLKSource.RUST), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashB(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_B.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashC.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashC.java new file mode 100644 index 0000000..ae2295f --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashC.java @@ -0,0 +1,87 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter C. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashC implements FCDotCLKSourceCakePoint { + + CASE(FCDotCLKSource.VHDL, + FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.ERLANG, + FCDotCLKSource.ES6), + COMPONENT(FCDotCLKSource.VHDL), + CONFIGURATION(FCDotCLKSource.VHDL), + CONSTANT(FCDotCLKSource.VHDL, + FCDotCLKSource.CPP.toQNameAlias("const"), + FCDotCLKSource.JAVA.toQNameAlias("const"), + FCDotCLKSource.RUST.toQNameAlias("const"), + FCDotCLKSource.ES6.toQNameAlias("const") + ), + CATCH(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.ERLANG, FCDotCLKSource.ES6), + CHAR(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + CHAR8_T(FCDotCLKSource.CPP), + CHAR16_T(FCDotCLKSource.CPP), + CHAR32_T(FCDotCLKSource.CPP), + CLASS(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.PYTHON, FCDotCLKSource.ES6), + COMPL(FCDotCLKSource.CPP), + CONCEPT(FCDotCLKSource.CPP), + CONSTEVAL(FCDotCLKSource.CPP), + CONSTEXPR(FCDotCLKSource.CPP), + CONSTINIT(FCDotCLKSource.CPP), + CONST_CAST(FCDotCLKSource.CPP), + CONTINUE(FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON, + FCDotCLKSource.ES6), + CO_AWAIT(FCDotCLKSource.CPP), + CO_RETURN(FCDotCLKSource.CPP), + CO_YIELD(FCDotCLKSource.CPP), + CONDITION(FCDotCLKSource.ERLANG.toQNameAlias("cond")), + CRATE(FCDotCLKSource.RUST), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashC(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_C.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashD.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashD.java new file mode 100644 index 0000000..1ebb337 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashD.java @@ -0,0 +1,64 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter D. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashD implements FCDotCLKSourceCakePoint { + + DISCONNECT(FCDotCLKSource.VHDL), + DOWNTO(FCDotCLKSource.VHDL), + DECLTYPE(FCDotCLKSource.CPP), + DEFAULT(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + DELETE(FCDotCLKSource.CPP, FCDotCLKSource.PYTHON, FCDotCLKSource.ES6), + DO(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.RUST, FCDotCLKSource.ES6), + DOUBLE(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + DYNAMIC_CAST(FCDotCLKSource.CPP), + DIV(FCDotCLKSource.ERLANG), + DYNAMIC(FCDotCLKSource.RUST.toQNameAlias("dyn")), + DEFINE(FCDotCLKSource.PYTHON.toQNameAlias("def")), + DEBUGGER(FCDotCLKSource.ES6), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashD(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_D.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashE.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashE.java new file mode 100644 index 0000000..5869c8b --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashE.java @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter E. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashE implements FCDotCLKSourceCakePoint { + + ELSE(FCDotCLKSource.VHDL, + FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.ERLANG, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON, + FCDotCLKSource.ES6), + ELSIF(FCDotCLKSource.VHDL, FCDotCLKSource.PYTHON.toQNameAlias("elif")), + END(FCDotCLKSource.VHDL, FCDotCLKSource.ERLANG), + ENTITY(FCDotCLKSource.VHDL), + EXIT(FCDotCLKSource.VHDL), + ENUM(FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.RUST, + FCDotCLKSource.ES6), + EXPLICIT(FCDotCLKSource.CPP), + EXPORT(FCDotCLKSource.CPP, FCDotCLKSource.ES6), + EXTERN(FCDotCLKSource.CPP, FCDotCLKSource.RUST), + EXPORTS(FCDotCLKSource.JAVA), + EXTENDS(FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + EXCEPT(FCDotCLKSource.PYTHON), + EVAL(FCDotCLKSource.ES6), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashE(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_E.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashF.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashF.java new file mode 100644 index 0000000..b8420af --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashF.java @@ -0,0 +1,73 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter F. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashF implements FCDotCLKSourceCakePoint { + + FILE(FCDotCLKSource.VHDL), + FOR(FCDotCLKSource.VHDL, + FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON, + FCDotCLKSource.ES6), + FUNCTION(FCDotCLKSource.VHDL, + FCDotCLKSource.ERLANG.toQNameAlias("fun"), + FCDotCLKSource.RUST.toQNameAlias("fn"), + FCDotCLKSource.ES6), + FALSE(FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON.toQNameAlias("False"), + FCDotCLKSource.ES6), + FLOAT(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + FRIEND(FCDotCLKSource.CPP), + FINAL(FCDotCLKSource.JAVA, FCDotCLKSource.RUST), + FINALLY(FCDotCLKSource.JAVA, FCDotCLKSource.PYTHON, FCDotCLKSource.ES6), + FROM(FCDotCLKSource.PYTHON), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashF(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_F.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashG.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashG.java new file mode 100644 index 0000000..8848126 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashG.java @@ -0,0 +1,58 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter F. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashG implements FCDotCLKSourceCakePoint { + + GENERATE(FCDotCLKSource.VHDL), + GENERIC(FCDotCLKSource.VHDL), + GROUP(FCDotCLKSource.VHDL), + GUARDED(FCDotCLKSource.VHDL), + GOTO(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + GLOBAL(FCDotCLKSource.PYTHON), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashG(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_G.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashH.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashH.java new file mode 100644 index 0000000..f2251b9 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashH.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter H. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashH implements FCDotCLKSourceCakePoint { + + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashH(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_H.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashI.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashI.java new file mode 100644 index 0000000..2b90610 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashI.java @@ -0,0 +1,70 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter I. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashI implements FCDotCLKSourceCakePoint { + + IF(FCDotCLKSource.VHDL, + FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.ERLANG, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON, + FCDotCLKSource.ES6), + IMPURE(FCDotCLKSource.VHDL), + IN(FCDotCLKSource.VHDL, FCDotCLKSource.RUST, FCDotCLKSource.PYTHON, FCDotCLKSource.ES6), + INERTIAL(FCDotCLKSource.VHDL), + INOUT(FCDotCLKSource.VHDL), + IS(FCDotCLKSource.VHDL, FCDotCLKSource.PYTHON), + INLINE(FCDotCLKSource.CPP), + INT(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + IMPLEMENTS(FCDotCLKSource.JAVA, FCDotCLKSource.RUST.toQNameAlias("impl"), FCDotCLKSource.ES6), + IMPORT(FCDotCLKSource.JAVA, FCDotCLKSource.PYTHON, FCDotCLKSource.ES6), + INSTANCEOF(FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + INTERFACE(FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashI(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_I.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashJ.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashJ.java new file mode 100644 index 0000000..cd0612f --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashJ.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter J. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashJ implements FCDotCLKSourceCakePoint { + + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashJ(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_J.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashK.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashK.java new file mode 100644 index 0000000..b5cadb5 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashK.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter K. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashK implements FCDotCLKSourceCakePoint { + + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashK(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_K.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashL.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashL.java new file mode 100644 index 0000000..06d6af0 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashL.java @@ -0,0 +1,60 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter L. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashL implements FCDotCLKSourceCakePoint { + + LABEL(FCDotCLKSource.VHDL), + LIBRARY(FCDotCLKSource.VHDL), + LINKAGE(FCDotCLKSource.VHDL), + LITERAL(FCDotCLKSource.VHDL), + LOOP(FCDotCLKSource.VHDL, FCDotCLKSource.RUST), + LONG(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + LET(FCDotCLKSource.ERLANG, FCDotCLKSource.RUST, FCDotCLKSource.ES6), + LAMBDA(FCDotCLKSource.PYTHON), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashL(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_L.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashM.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashM.java new file mode 100644 index 0000000..462f14a --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashM.java @@ -0,0 +1,61 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter M. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashM implements FCDotCLKSourceCakePoint { + + MAP(FCDotCLKSource.VHDL), + MOD(FCDotCLKSource.VHDL, FCDotCLKSource.RUST), + MUTABLE(FCDotCLKSource.CPP, FCDotCLKSource.RUST.toQNameAlias("mut")), + MODULE(FCDotCLKSource.JAVA), + MAYBE(FCDotCLKSource.ERLANG), + MATCH(FCDotCLKSource.RUST), + MOVE(FCDotCLKSource.RUST), + MACRO(FCDotCLKSource.RUST), + MACRO_RULES(FCDotCLKSource.RUST), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashM(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_M.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashN.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashN.java new file mode 100644 index 0000000..18aadc3 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashN.java @@ -0,0 +1,65 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter N. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashN implements FCDotCLKSourceCakePoint { + + NAND(FCDotCLKSource.VHDL), + NEW(FCDotCLKSource.VHDL, FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + NEXT(FCDotCLKSource.VHDL), + NOR(FCDotCLKSource.VHDL), + NOT(FCDotCLKSource.VHDL, FCDotCLKSource.CPP, FCDotCLKSource.ERLANG, FCDotCLKSource.PYTHON), + NULL(FCDotCLKSource.VHDL, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + NAMESPACE(FCDotCLKSource.CPP), + NOEXCEPT(FCDotCLKSource.CPP), + NOT_EQ(FCDotCLKSource.CPP), + NULLPTR(FCDotCLKSource.CPP), + NATIVE(FCDotCLKSource.JAVA), + NONE(FCDotCLKSource.PYTHON), + NONLOCAL(FCDotCLKSource.PYTHON), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashN(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_N.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashO.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashO.java new file mode 100644 index 0000000..9bcd46f --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashO.java @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter O. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashO implements FCDotCLKSourceCakePoint { + + OF(FCDotCLKSource.VHDL, FCDotCLKSource.ERLANG), + ON(FCDotCLKSource.VHDL), + OPEN(FCDotCLKSource.VHDL), + OR(FCDotCLKSource.VHDL, FCDotCLKSource.CPP, FCDotCLKSource.ERLANG, FCDotCLKSource.PYTHON), + OTHERS(FCDotCLKSource.VHDL), + OUT(FCDotCLKSource.VHDL), + OPERATOR(FCDotCLKSource.CPP), + OR_EQ(FCDotCLKSource.CPP), + ORELSE(FCDotCLKSource.ERLANG), + OVERRIDE(FCDotCLKSource.RUST), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashO(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_O.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashP.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashP.java new file mode 100644 index 0000000..f3242ba --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashP.java @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter P. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashP implements FCDotCLKSourceCakePoint { + + PACKAGE(FCDotCLKSource.VHDL, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + PORT(FCDotCLKSource.VHDL), + POSTPONED(FCDotCLKSource.VHDL), + PROCEDURE(FCDotCLKSource.VHDL), + PROCESS(FCDotCLKSource.VHDL), + PURE(FCDotCLKSource.VHDL), + PRIVATE(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.RUST.toQNameAlias("priv"), FCDotCLKSource.ES6), + PROTECTED(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + PUBLIC(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.RUST.toQNameAlias("pub"), FCDotCLKSource.ES6), + PASS(FCDotCLKSource.PYTHON), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashP(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_P.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashQ.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashQ.java new file mode 100644 index 0000000..e25f2dc --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashQ.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter Q. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashQ implements FCDotCLKSourceCakePoint { + + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashQ(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_Q.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashR.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashR.java new file mode 100644 index 0000000..d0e1e0b --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashR.java @@ -0,0 +1,72 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter R. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashR implements FCDotCLKSourceCakePoint { + + RANGE(FCDotCLKSource.VHDL), + RECORD(FCDotCLKSource.VHDL), + REGISTER(FCDotCLKSource.VHDL, FCDotCLKSource.CPP), + REJECT(FCDotCLKSource.VHDL), + REM(FCDotCLKSource.VHDL, FCDotCLKSource.ERLANG), + REPORT(FCDotCLKSource.VHDL), + RETURN(FCDotCLKSource.VHDL, + FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON, + FCDotCLKSource.ES6), + ROL(FCDotCLKSource.VHDL), + ROR(FCDotCLKSource.VHDL), + REFLEXPR(FCDotCLKSource.CPP), + REINTERPRET_CAST(FCDotCLKSource.CPP), + REQUIRES(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + RECEIVE(FCDotCLKSource.ERLANG), + REF(FCDotCLKSource.RUST), + RAISE(FCDotCLKSource.PYTHON), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashR(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_R.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashS.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashS.java new file mode 100644 index 0000000..bf33b00 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashS.java @@ -0,0 +1,77 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter S. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashS implements FCDotCLKSourceCakePoint { + + SELECT(FCDotCLKSource.VHDL), + SEVERITY(FCDotCLKSource.VHDL), + SIGNAL(FCDotCLKSource.VHDL), + SHARED(FCDotCLKSource.VHDL), + SLA(FCDotCLKSource.VHDL), + SLL(FCDotCLKSource.VHDL, FCDotCLKSource.ERLANG.toQNameAlias("bsl")), + SRA(FCDotCLKSource.VHDL), + SRL(FCDotCLKSource.VHDL, FCDotCLKSource.ERLANG.toQNameAlias("bsr")), + SUBTYPE(FCDotCLKSource.VHDL), + SHORT(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + SIGNED(FCDotCLKSource.CPP), + SIZEOF(FCDotCLKSource.CPP), + STATIC(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.RUST, FCDotCLKSource.ES6), + STATIC_ASSERT(FCDotCLKSource.CPP), + STATIC_CAST(FCDotCLKSource.CPP), + STRUCT(FCDotCLKSource.CPP, FCDotCLKSource.RUST), + SWITCH(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + SYNCHRONIZED(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + STRICTFP(FCDotCLKSource.JAVA), + SUPER(FCDotCLKSource.JAVA, FCDotCLKSource.RUST, FCDotCLKSource.ES6), + // NOTE: Example dedup move SELF and SELF_TYPE to THIS/THIS_TYPE with aliases for RUST + SELF(FCDotCLKSource.RUST), + SELF_TYPE(FCDotCLKSource.RUST.toQNameAlias("Self")), + STATIC_LIFE(FCDotCLKSource.RUST.toQNameAlias("'static")), + SAFE(FCDotCLKSource.RUST), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashS(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_S.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashT.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashT.java new file mode 100644 index 0000000..e0eed6e --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashT.java @@ -0,0 +1,78 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter T. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashT implements FCDotCLKSourceCakePoint { + + THEN(FCDotCLKSource.VHDL), + TO(FCDotCLKSource.VHDL), + TRANSPORT(FCDotCLKSource.VHDL), + TYPE(FCDotCLKSource.VHDL, FCDotCLKSource.RUST), + TEMPLATE(FCDotCLKSource.CPP), + THIS(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + THREAD_LOCAL(FCDotCLKSource.CPP), + THROW(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + TRUE(FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON.toQNameAlias("True"), + FCDotCLKSource.ES6), + TRY(FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.ERLANG, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON, + FCDotCLKSource.ES6), + TYPEDEF(FCDotCLKSource.CPP), + TYPEID(FCDotCLKSource.CPP), + TYPENAME(FCDotCLKSource.CPP), + THROWS(FCDotCLKSource.JAVA), + TRANSIENT(FCDotCLKSource.JAVA), + TRAIT(FCDotCLKSource.RUST), + TYPEOF(FCDotCLKSource.RUST, FCDotCLKSource.ES6), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashT(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_T.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashU.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashU.java new file mode 100644 index 0000000..97f1681 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashU.java @@ -0,0 +1,61 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter U. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashU implements FCDotCLKSourceCakePoint { + + UNAFFECTED(FCDotCLKSource.VHDL), + UNITS(FCDotCLKSource.VHDL), + UNTIL(FCDotCLKSource.VHDL), + USE(FCDotCLKSource.VHDL, FCDotCLKSource.RUST), + UNION(FCDotCLKSource.CPP, FCDotCLKSource.RUST), + UNSIGNED(FCDotCLKSource.CPP), + USING(FCDotCLKSource.CPP), + UNSAFE(FCDotCLKSource.RUST), + UNSIZED(FCDotCLKSource.RUST), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashU(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_U.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashV.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashV.java new file mode 100644 index 0000000..7abbb0e --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashV.java @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter V. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashV implements FCDotCLKSourceCakePoint { + + VARIABLE(FCDotCLKSource.VHDL), + VIRTUAL(FCDotCLKSource.CPP, FCDotCLKSource.RUST), + VOID(FCDotCLKSource.CPP, FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + VOLATILE(FCDotCLKSource.CPP, FCDotCLKSource.JAVA), + VAR(FCDotCLKSource.JAVA, FCDotCLKSource.ES6), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashV(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_V.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashW.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashW.java new file mode 100644 index 0000000..24daa40 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashW.java @@ -0,0 +1,63 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter W. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashW implements FCDotCLKSourceCakePoint { + + WAIT(FCDotCLKSource.VHDL), + WHEN(FCDotCLKSource.VHDL, FCDotCLKSource.ERLANG), + WHILE(FCDotCLKSource.VHDL, + FCDotCLKSource.CPP, + FCDotCLKSource.JAVA, + FCDotCLKSource.RUST, + FCDotCLKSource.PYTHON, + FCDotCLKSource.ES6), + WITH(FCDotCLKSource.VHDL, FCDotCLKSource.PYTHON, FCDotCLKSource.ES6), + WCHAR_T(FCDotCLKSource.CPP), + WHERE(FCDotCLKSource.RUST), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashW(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_W.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashX.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashX.java new file mode 100644 index 0000000..6c219ff --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashX.java @@ -0,0 +1,55 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter X. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashX implements FCDotCLKSourceCakePoint { + + XNOR(FCDotCLKSource.VHDL), + XOR(FCDotCLKSource.VHDL, FCDotCLKSource.CPP, FCDotCLKSource.ERLANG), + XOR_EQ(FCDotCLKSource.CPP), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashX(FCDotCLKSourceLookup...lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_X.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashY.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashY.java new file mode 100644 index 0000000..03ee098 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashY.java @@ -0,0 +1,53 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter Y. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashY implements FCDotCLKSourceCakePoint { + + YIELD(FCDotCLKSource.RUST, FCDotCLKSource.PYTHON, FCDotCLKSource.ES6), + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashY(FCDotCLKSourceLookup... lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_Y.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashZ.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashZ.java new file mode 100644 index 0000000..2f2e1f2 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLK9PDashZ.java @@ -0,0 +1,52 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import org.x4o.o2o.fc18.FourCornerDotCake; + +/** + * Code Language Keywords with letter Z. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotCLK9PDashZ implements FCDotCLKSourceCakePoint { + + ; + + final private FCDotCLKSourceLookup[] lookups; + + private FCDotCLK9PDashZ(FCDotCLKSourceLookup... lookups) { + this.lookups = lookups; + } + + @Override + public FCDotCLKSourceLookup[] getLookups() { + return lookups; + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CLK9P_Z.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSource.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSource.java new file mode 100644 index 0000000..57f7a44 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSource.java @@ -0,0 +1,77 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import java.util.Objects; + +/** + * Source locations of coding keywords. + * + * @author Willem Cazander + * @version 1.0 Dec 29, 2024 + */ +public enum FCDotCLKSource implements FCDotCLKSourceLookup { + + VHDL, + CPP, + JAVA, + ERLANG, + RUST, + PYTHON, + ES6, + //BASIC, + //BASIC_MSX, // = disk-basic + msx stuff + //BASIC_MPI, // MPI-2 for BASIC + //FORTRAN // Leave out "openMP" junk because REAL computers have no shared memory model + //SQL // TODO: After (~full) SQL is added do cleanup of duplicate/abbr... CLK9P entries + ; + + private FCDotCLKSource() { + } + + @Override + public FCDotCLKSource getSource() { + return FCDotCLKSource.this; + } + + @Override + public String getQName() { + return name().toLowerCase(); + } + + public FCDotCLKSourceLookup toQNameAlias(String qname) { + Objects.requireNonNull(qname); + return new FCDotCLKSourceLookup() { + + @Override + public FCDotCLKSource getSource() { + return FCDotCLKSource.this; + } + + @Override + public String getQName() { + return qname; + } + }; + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSourceCakePoint.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSourceCakePoint.java new file mode 100644 index 0000000..7e02d74 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSourceCakePoint.java @@ -0,0 +1,48 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +import java.util.Optional; + +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * Adds CLK source lookup support to an cake point. + * + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public interface FCDotCLKSourceCakePoint extends FourCornerDotCakePoint { + + FCDotCLKSourceLookup[] getLookups(); + + default Optional getLookupFor(FCDotCLKSource source) { + for (FCDotCLKSourceLookup lookup : getLookups()) { + if (lookup.getSource() == source) { + return Optional.of(lookup); + } + } + return Optional.empty(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSourceLookup.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSourceLookup.java new file mode 100644 index 0000000..9077c23 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/FCDotCLKSourceLookup.java @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.clk9p; + +/** + * + * @author Willem Cazander + * @version 1.0 Dec 29, 2024 + */ +public interface FCDotCLKSourceLookup { + + FCDotCLKSource getSource(); + + String getQName(); +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/package-info.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/package-info.java new file mode 100644 index 0000000..fd5a453 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/clk9p/package-info.java @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +/** + * 18 bit Four Corner enterprise Code Language Keywords in block of 2 to the Power of 9. + * + * + * @since 1.0 + */ +package org.x4o.o2o.fc18.clk9p; diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FCDotCDC1604DashP6.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotCDC1604DashP6.java similarity index 89% rename from nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FCDotCDC1604DashP6.java rename to nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotCDC1604DashP6.java index 813c5a5..77b3249 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FCDotCDC1604DashP6.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotCDC1604DashP6.java @@ -20,10 +20,13 @@ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package org.x4o.o2o.fc18; +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; /// -/// "FC.CDC1604-P6" has 27 pie slice number systems "Packed" for MATH and BASIC letters in a "Six" bit encoding. +/// "FC.CDC1604-P6" Four Corner Core Data Cake has 27 pie slice number systems "Packed" for MATH and BASIC letters. /// /// This is used as the first 64 word numbers of the china four corner method, and acts like ascii glue for adult 18 bit computers. /// @@ -35,7 +38,7 @@ package org.x4o.o2o.fc18; /// @author Willem Cazander /// @version 1.0 Dec 22, 2024 /// -public enum FCDotCDC1604DashP6 { +public enum FCDotCDC1604DashP6 implements FourCornerDotCakePoint { // [__NUL][__PIE][__GLUE][__ESC] [__LINE][__SPACE]?! {[(< }])> // ~+-* ,.:; '"`^ =#$% // |_\/ @ABC DEFG HIJK @@ -122,7 +125,7 @@ public enum FCDotCDC1604DashP6 { NX27_AMPERSAND('&'), ; - static final private FCDotCDC1604DashP6[] P6_ALL = values(); + static final private FCDotCDC1604DashP6[] VALUES = values(); private final byte asciiByte; private FCDotCDC1604DashP6(char codePoint) { @@ -137,11 +140,16 @@ public enum FCDotCDC1604DashP6 { return asciiByte; } + @Override + public int cakePoint() { + return FourCornerDotCake.FC_CDC1604_P6.getStart() + ordinal(); + } + static public int length() { - return P6_ALL.length; + return VALUES.length; } static public FCDotCDC1604DashP6 indexOf(int idx) { - return P6_ALL[idx]; + return VALUES[idx]; } } diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FCDotDEC1604DashE2.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotDEC1604DashE6.java similarity index 83% rename from nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FCDotDEC1604DashE2.java rename to nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotDEC1604DashE6.java index 170c696..2aef10f 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/FCDotDEC1604DashE2.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotDEC1604DashE6.java @@ -20,7 +20,10 @@ * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -package org.x4o.o2o.fc18; +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; /** * "FC.DEC1604-E2" Four Corner dot Direct or Escaped Control in grid of 16 by 04 of dashed Escape codes V2. @@ -31,18 +34,21 @@ package org.x4o.o2o.fc18; * * A 18 or 144 bit computer uses this direct as the second 64 part page. (thus number 64 to 127) * - * NOTE: TODO: Currently still all undefined, until time for see below todos. + * NOTE: TODO: Currently still all but one, others are undefined. * * @author Willem Cazander * @version 1.0 Dec 24, 2024 */ -public enum FCDotDEC1604DashE2 { +public enum FCDotDEC1604DashE6 implements FourCornerDotCakePoint { RESERVED___NUL, RESERVED___PIE, RESERVED___GLUE, - RESERVED___ESC, + /// Duel escape to 18 bit four corner on 6 and 8 bit systems. + /// Stream six octals per cake point in NX01 to NX08, until any out of range P6, thus ending with __ESC + __ESC_18, RESERVED__LINE, RESERVED__SPACE, + UNDEFINED__QUESTION, UNDEFINED__EXCLAMATION, UNDEFINED__TAG_CURLY_LEFT, @@ -102,21 +108,12 @@ public enum FCDotDEC1604DashE2 { UNDEFINED__NX26_Z, UNDEFINED__NX27_AMPERSAND, - // TODO LIST; - // - // Encode pie numbers 28 and above !!! - // XXX_ESC_PIE_2(), - // XXX_ESC_PIE_3(), - // XXX_ESC_PIE_4(), // // Encode 18 full 18 bit FC word in 6 bit !!! // XXX_FOUR_CORNER(), // - // Encode 21 bit unicode-1 code point ??? - // XXX_UNICODE1(), - // - // Encode 72 bit Unicode-4 !!! - // XXX_UNICODE4(), // _WORD_ESC + _TEST_UNICODE4 + + manyStrokeBlocks + // By escaping to 18 bit full FC, all other FC encodings can be handled (with a bit overhead) + // on a real computer, a 6 bit mainframe like a CDC1604. // // Historical glue for ansi codes ??? // TAG_ANSI_UPPER, @@ -141,16 +138,21 @@ public enum FCDotDEC1604DashE2 { // TODO: full new impl+cleanup of ANSI-NG for 6 bit real computer terminals !?! ; - static final private FCDotDEC1604DashE2[] E2_ALL = values(); + static final private FCDotDEC1604DashE6[] VALUES = values(); - private FCDotDEC1604DashE2() { + private FCDotDEC1604DashE6() { + } + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_DEC1604_E6.getStart() + ordinal(); } static public int length() { - return E2_ALL.length; + return VALUES.length; } - static public FCDotDEC1604DashE2 indexOf(int idx) { - return E2_ALL[idx]; + static public FCDotDEC1604DashE6 indexOf(int idx) { + return VALUES[idx]; } } diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotIBM1616DashD8.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotIBM1616DashD8.java new file mode 100644 index 0000000..0b1fceb --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotIBM1616DashD8.java @@ -0,0 +1,298 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * "FC.IBM1616-D8" Four Corner Interim Byte Mode, embed raw 8 bit Data + * + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotIBM1616DashD8 implements FourCornerDotCakePoint { + NXX_001, + NXX_002, + NXX_003, + NXX_004, + NXX_005, + NXX_006, + NXX_007, + NXX_008, + NXX_009, + NXX_010, + NXX_011, + NXX_012, + NXX_013, + NXX_014, + NXX_015, + NXX_016, + NXX_017, + NXX_018, + NXX_019, + NXX_020, + NXX_021, + NXX_022, + NXX_023, + NXX_024, + NXX_025, + NXX_026, + NXX_027, + NXX_028, + NXX_029, + NXX_030, + NXX_031, + NXX_032, + NXX_033, + NXX_034, + NXX_035, + NXX_036, + NXX_037, + NXX_038, + NXX_039, + NXX_040, + NXX_041, + NXX_042, + NXX_043, + NXX_044, + NXX_045, + NXX_046, + NXX_047, + NXX_048, + NXX_049, + NXX_050, + NXX_051, + NXX_052, + NXX_053, + NXX_054, + NXX_055, + NXX_056, + NXX_057, + NXX_058, + NXX_059, + NXX_060, + NXX_061, + NXX_062, + NXX_063, + NXX_064, + NXX_065, + NXX_066, + NXX_067, + NXX_068, + NXX_069, + NXX_070, + NXX_071, + NXX_072, + NXX_073, + NXX_074, + NXX_075, + NXX_076, + NXX_077, + NXX_078, + NXX_079, + NXX_080, + NXX_081, + NXX_082, + NXX_083, + NXX_084, + NXX_085, + NXX_086, + NXX_087, + NXX_088, + NXX_089, + NXX_090, + NXX_091, + NXX_092, + NXX_093, + NXX_094, + NXX_095, + NXX_096, + NXX_097, + NXX_098, + NXX_099, + NXX_100, + NXX_101, + NXX_102, + NXX_103, + NXX_104, + NXX_105, + NXX_106, + NXX_107, + NXX_108, + NXX_109, + NXX_110, + NXX_111, + NXX_112, + NXX_113, + NXX_114, + NXX_115, + NXX_116, + NXX_117, + NXX_118, + NXX_119, + NXX_120, + NXX_121, + NXX_122, + NXX_123, + NXX_124, + NXX_125, + NXX_126, + NXX_127, + NXX_128, + NXX_129, + NXX_130, + NXX_131, + NXX_132, + NXX_133, + NXX_134, + NXX_135, + NXX_136, + NXX_137, + NXX_138, + NXX_139, + NXX_140, + NXX_141, + NXX_142, + NXX_143, + NXX_144, + NXX_145, + NXX_146, + NXX_147, + NXX_148, + NXX_149, + NXX_150, + NXX_151, + NXX_152, + NXX_153, + NXX_154, + NXX_155, + NXX_156, + NXX_157, + NXX_158, + NXX_159, + NXX_160, + NXX_161, + NXX_162, + NXX_163, + NXX_164, + NXX_165, + NXX_166, + NXX_167, + NXX_168, + NXX_169, + NXX_170, + NXX_171, + NXX_172, + NXX_173, + NXX_174, + NXX_175, + NXX_176, + NXX_177, + NXX_178, + NXX_179, + NXX_180, + NXX_181, + NXX_182, + NXX_183, + NXX_184, + NXX_185, + NXX_186, + NXX_187, + NXX_188, + NXX_189, + NXX_190, + NXX_191, + NXX_192, + NXX_193, + NXX_194, + NXX_195, + NXX_196, + NXX_197, + NXX_198, + NXX_199, + NXX_200, + NXX_201, + NXX_202, + NXX_203, + NXX_204, + NXX_205, + NXX_206, + NXX_207, + NXX_208, + NXX_209, + NXX_210, + NXX_211, + NXX_212, + NXX_213, + NXX_214, + NXX_215, + NXX_216, + NXX_217, + NXX_218, + NXX_219, + NXX_220, + NXX_221, + NXX_222, + NXX_223, + NXX_224, + NXX_225, + NXX_226, + NXX_227, + NXX_228, + NXX_229, + NXX_230, + NXX_231, + NXX_232, + NXX_233, + NXX_234, + NXX_235, + NXX_236, + NXX_237, + NXX_238, + NXX_239, + NXX_240, + NXX_241, + NXX_242, + NXX_243, + NXX_244, + NXX_245, + NXX_246, + NXX_247, + NXX_248, + NXX_249, + NXX_250, + NXX_251, + NXX_252, + NXX_253, + NXX_254, + NXX_255, + NXX_256, + ; + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_IBM1616_D8.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash0F.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash0F.java new file mode 100644 index 0000000..97bab48 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash0F.java @@ -0,0 +1,558 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * "FC.NCR1632-0F" Four Corner New Counting Rods optional flags and shorthands. + * + * @author Willem Cazander + * @version 1.0 Dec 31, 2024 + */ +public enum FCDotNCR1632Dash0F implements FourCornerDotCakePoint { + + /// Shorthand for zero + T001_NXX_001, + /// Shorthand for one + T009_NXX_001, + T009_NXX_002, + T009_NXX_003, + T009_NXX_004, + T009_NXX_005, + T009_NXX_006, + T009_NXX_007, + T009_NXX_008, + T009_NXX_009, + + /// Reserved TODO: Check if we need 1PI/2PI/3PI/NaN minus in 4D and maybe replace math symbols from P6 to here.. + NXX_011, + NXX_012, + NXX_013, + NXX_014, + NXX_015, + NXX_016, + NXX_017, + NXX_018, + NXX_019, + NXX_020, + NXX_021, + NXX_022, + NXX_023, + NXX_024, + NXX_025, + NXX_026, + NXX_027, + NXX_028, + NXX_029, + NXX_030, + NXX_031, + NXX_032, + NXX_033, + NXX_034, + NXX_035, + NXX_036, + NXX_037, + NXX_038, + NXX_039, + NXX_040, + NXX_041, + NXX_042, + NXX_043, + NXX_044, + NXX_045, + NXX_046, + NXX_047, + NXX_048, + NXX_049, + NXX_050, + NXX_051, + NXX_052, + NXX_053, + NXX_054, + NXX_055, + NXX_056, + NXX_057, + NXX_058, + NXX_059, + NXX_060, + NXX_061, + NXX_062, + NXX_063, + NXX_064, + NXX_065, + NXX_066, + NXX_067, + NXX_068, + NXX_069, + NXX_070, + NXX_071, + NXX_072, + NXX_073, + NXX_074, + NXX_075, + NXX_076, + NXX_077, + NXX_078, + NXX_079, + NXX_080, + NXX_081, + NXX_082, + NXX_083, + NXX_084, + NXX_085, + NXX_086, + NXX_087, + NXX_088, + NXX_089, + NXX_090, + NXX_091, + NXX_092, + NXX_093, + NXX_094, + NXX_095, + NXX_096, + NXX_097, + NXX_098, + NXX_099, + NXX_100, + NXX_101, + NXX_102, + NXX_103, + NXX_104, + NXX_105, + NXX_106, + NXX_107, + NXX_108, + NXX_109, + NXX_110, + NXX_111, + NXX_112, + NXX_113, + NXX_114, + NXX_115, + NXX_116, + NXX_117, + NXX_118, + NXX_119, + NXX_120, + NXX_121, + NXX_122, + NXX_123, + NXX_124, + NXX_125, + NXX_126, + NXX_127, + NXX_128, + NXX_129, + NXX_130, + NXX_131, + NXX_132, + NXX_133, + NXX_134, + NXX_135, + NXX_136, + NXX_137, + NXX_138, + NXX_139, + NXX_140, + NXX_141, + NXX_142, + NXX_143, + NXX_144, + NXX_145, + NXX_146, + NXX_147, + NXX_148, + NXX_149, + NXX_150, + NXX_151, + NXX_152, + NXX_153, + NXX_154, + NXX_155, + NXX_156, + NXX_157, + NXX_158, + NXX_159, + NXX_160, + NXX_161, + NXX_162, + NXX_163, + NXX_164, + NXX_165, + NXX_166, + NXX_167, + NXX_168, + NXX_169, + NXX_170, + NXX_171, + NXX_172, + NXX_173, + NXX_174, + NXX_175, + NXX_176, + NXX_177, + NXX_178, + NXX_179, + NXX_180, + NXX_181, + NXX_182, + NXX_183, + NXX_184, + NXX_185, + NXX_186, + NXX_187, + NXX_188, + NXX_189, + NXX_190, + NXX_191, + NXX_192, + NXX_193, + NXX_194, + NXX_195, + NXX_196, + NXX_197, + NXX_198, + NXX_199, + NXX_200, + NXX_201, + NXX_202, + NXX_203, + NXX_204, + NXX_205, + NXX_206, + NXX_207, + NXX_208, + NXX_209, + NXX_210, + NXX_211, + NXX_212, + NXX_213, + NXX_214, + NXX_215, + NXX_216, + NXX_217, + NXX_218, + NXX_219, + NXX_220, + NXX_221, + NXX_222, + NXX_223, + NXX_224, + NXX_225, + NXX_226, + NXX_227, + NXX_228, + NXX_229, + NXX_230, + NXX_231, + NXX_232, + NXX_233, + NXX_234, + NXX_235, + NXX_236, + NXX_237, + NXX_238, + NXX_239, + NXX_240, + NXX_241, + NXX_242, + NXX_243, + NXX_244, + NXX_245, + NXX_246, + NXX_247, + NXX_248, + NXX_249, + NXX_250, + NXX_251, + NXX_252, + NXX_253, + NXX_254, + NXX_255, + NXX_256, + NXX_257, + NXX_258, + NXX_259, + NXX_260, + NXX_261, + NXX_262, + NXX_263, + NXX_264, + NXX_265, + NXX_266, + NXX_267, + NXX_268, + NXX_269, + NXX_270, + NXX_271, + NXX_272, + NXX_273, + NXX_274, + NXX_275, + NXX_276, + NXX_277, + NXX_278, + NXX_279, + NXX_280, + NXX_281, + NXX_282, + NXX_283, + NXX_284, + NXX_285, + NXX_286, + NXX_287, + NXX_288, + NXX_289, + NXX_290, + NXX_291, + NXX_292, + NXX_293, + NXX_294, + NXX_295, + NXX_296, + NXX_297, + NXX_298, + NXX_299, + NXX_300, + NXX_301, + NXX_302, + NXX_303, + NXX_304, + NXX_305, + NXX_306, + NXX_307, + NXX_308, + NXX_309, + NXX_310, + NXX_311, + NXX_312, + NXX_313, + NXX_314, + NXX_315, + NXX_316, + NXX_317, + NXX_318, + NXX_319, + NXX_320, + NXX_321, + NXX_322, + NXX_323, + NXX_324, + NXX_325, + NXX_326, + NXX_327, + NXX_328, + NXX_329, + NXX_330, + NXX_331, + NXX_332, + NXX_333, + NXX_334, + NXX_335, + NXX_336, + NXX_337, + NXX_338, + NXX_339, + NXX_340, + NXX_341, + NXX_342, + NXX_343, + NXX_344, + NXX_345, + NXX_346, + NXX_347, + NXX_348, + NXX_349, + NXX_350, + NXX_351, + NXX_352, + NXX_353, + NXX_354, + NXX_355, + NXX_356, + NXX_357, + NXX_358, + NXX_359, + NXX_360, + NXX_361, + NXX_362, + NXX_363, + NXX_364, + NXX_365, + NXX_366, + NXX_367, + NXX_368, + NXX_369, + NXX_370, + NXX_371, + NXX_372, + NXX_373, + NXX_374, + NXX_375, + NXX_376, + NXX_377, + NXX_378, + NXX_379, + NXX_380, + NXX_381, + NXX_382, + NXX_383, + NXX_384, + NXX_385, + NXX_386, + NXX_387, + NXX_388, + NXX_389, + NXX_390, + NXX_391, + NXX_392, + NXX_393, + NXX_394, + NXX_395, + NXX_396, + NXX_397, + NXX_398, + NXX_399, + NXX_400, + NXX_401, + NXX_402, + NXX_403, + NXX_404, + NXX_405, + NXX_406, + NXX_407, + NXX_408, + NXX_409, + NXX_410, + NXX_411, + NXX_412, + NXX_413, + NXX_414, + NXX_415, + NXX_416, + NXX_417, + NXX_418, + NXX_419, + NXX_420, + NXX_421, + NXX_422, + NXX_423, + NXX_424, + NXX_425, + NXX_426, + NXX_427, + NXX_428, + NXX_429, + NXX_430, + NXX_431, + NXX_432, + NXX_433, + NXX_434, + NXX_435, + NXX_436, + NXX_437, + NXX_438, + NXX_439, + NXX_440, + NXX_441, + NXX_442, + NXX_443, + NXX_444, + NXX_445, + NXX_446, + NXX_447, + NXX_448, + NXX_449, + NXX_450, + NXX_451, + NXX_452, + NXX_453, + NXX_454, + NXX_455, + NXX_456, + NXX_457, + NXX_458, + NXX_459, + NXX_460, + NXX_461, + NXX_462, + NXX_463, + NXX_464, + NXX_465, + NXX_466, + NXX_467, + NXX_468, + NXX_469, + NXX_470, + NXX_471, + NXX_472, + NXX_473, + NXX_474, + NXX_475, + NXX_476, + NXX_477, + NXX_478, + NXX_479, + NXX_480, + NXX_481, + NXX_482, + NXX_483, + NXX_484, + NXX_485, + NXX_486, + NXX_487, + NXX_488, + NXX_489, + NXX_490, + NXX_491, + NXX_492, + NXX_493, + NXX_494, + NXX_495, + NXX_496, + NXX_497, + NXX_498, + NXX_499, + NXX_500, + NXX_501, + NXX_502, + NXX_503, + NXX_504, + NXX_505, + NXX_506, + NXX_507, + NXX_508, + NXX_509, + NXX_510, + NXX_511, + NXX_512, + ; + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_NCR1632_0F.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash0M.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash0M.java new file mode 100644 index 0000000..b2381ca --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash0M.java @@ -0,0 +1,553 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * "FC.NCR1632-0M" Four Corner New Counting Rods terminator pie multiplier. + * + * @author Willem Cazander + * @version 1.0 Dec 31, 2024 + */ +public enum FCDotNCR1632Dash0M implements FourCornerDotCakePoint { + NXX_001, + NXX_002, + NXX_003, + NXX_004, + NXX_005, + NXX_006, + NXX_007, + NXX_008, + NXX_009, + NXX_010, + NXX_011, + NXX_012, + NXX_013, + NXX_014, + NXX_015, + NXX_016, + NXX_017, + NXX_018, + NXX_019, + NXX_020, + NXX_021, + NXX_022, + NXX_023, + NXX_024, + NXX_025, + NXX_026, + NXX_027, + NXX_028, + NXX_029, + NXX_030, + NXX_031, + NXX_032, + NXX_033, + NXX_034, + NXX_035, + NXX_036, + NXX_037, + NXX_038, + NXX_039, + NXX_040, + NXX_041, + NXX_042, + NXX_043, + NXX_044, + NXX_045, + NXX_046, + NXX_047, + NXX_048, + NXX_049, + NXX_050, + NXX_051, + NXX_052, + NXX_053, + NXX_054, + NXX_055, + NXX_056, + NXX_057, + NXX_058, + NXX_059, + NXX_060, + NXX_061, + NXX_062, + NXX_063, + NXX_064, + NXX_065, + NXX_066, + NXX_067, + NXX_068, + NXX_069, + NXX_070, + NXX_071, + NXX_072, + NXX_073, + NXX_074, + NXX_075, + NXX_076, + NXX_077, + NXX_078, + NXX_079, + NXX_080, + NXX_081, + NXX_082, + NXX_083, + NXX_084, + NXX_085, + NXX_086, + NXX_087, + NXX_088, + NXX_089, + NXX_090, + NXX_091, + NXX_092, + NXX_093, + NXX_094, + NXX_095, + NXX_096, + NXX_097, + NXX_098, + NXX_099, + NXX_100, + NXX_101, + NXX_102, + NXX_103, + NXX_104, + NXX_105, + NXX_106, + NXX_107, + NXX_108, + NXX_109, + NXX_110, + NXX_111, + NXX_112, + NXX_113, + NXX_114, + NXX_115, + NXX_116, + NXX_117, + NXX_118, + NXX_119, + NXX_120, + NXX_121, + NXX_122, + NXX_123, + NXX_124, + NXX_125, + NXX_126, + NXX_127, + NXX_128, + NXX_129, + NXX_130, + NXX_131, + NXX_132, + NXX_133, + NXX_134, + NXX_135, + NXX_136, + NXX_137, + NXX_138, + NXX_139, + NXX_140, + NXX_141, + NXX_142, + NXX_143, + NXX_144, + NXX_145, + NXX_146, + NXX_147, + NXX_148, + NXX_149, + NXX_150, + NXX_151, + NXX_152, + NXX_153, + NXX_154, + NXX_155, + NXX_156, + NXX_157, + NXX_158, + NXX_159, + NXX_160, + NXX_161, + NXX_162, + NXX_163, + NXX_164, + NXX_165, + NXX_166, + NXX_167, + NXX_168, + NXX_169, + NXX_170, + NXX_171, + NXX_172, + NXX_173, + NXX_174, + NXX_175, + NXX_176, + NXX_177, + NXX_178, + NXX_179, + NXX_180, + NXX_181, + NXX_182, + NXX_183, + NXX_184, + NXX_185, + NXX_186, + NXX_187, + NXX_188, + NXX_189, + NXX_190, + NXX_191, + NXX_192, + NXX_193, + NXX_194, + NXX_195, + NXX_196, + NXX_197, + NXX_198, + NXX_199, + NXX_200, + NXX_201, + NXX_202, + NXX_203, + NXX_204, + NXX_205, + NXX_206, + NXX_207, + NXX_208, + NXX_209, + NXX_210, + NXX_211, + NXX_212, + NXX_213, + NXX_214, + NXX_215, + NXX_216, + NXX_217, + NXX_218, + NXX_219, + NXX_220, + NXX_221, + NXX_222, + NXX_223, + NXX_224, + NXX_225, + NXX_226, + NXX_227, + NXX_228, + NXX_229, + NXX_230, + NXX_231, + NXX_232, + NXX_233, + NXX_234, + NXX_235, + NXX_236, + NXX_237, + NXX_238, + NXX_239, + NXX_240, + NXX_241, + NXX_242, + NXX_243, + NXX_244, + NXX_245, + NXX_246, + NXX_247, + NXX_248, + NXX_249, + NXX_250, + NXX_251, + NXX_252, + NXX_253, + NXX_254, + NXX_255, + NXX_256, + NXX_257, + NXX_258, + NXX_259, + NXX_260, + NXX_261, + NXX_262, + NXX_263, + NXX_264, + NXX_265, + NXX_266, + NXX_267, + NXX_268, + NXX_269, + NXX_270, + NXX_271, + NXX_272, + NXX_273, + NXX_274, + NXX_275, + NXX_276, + NXX_277, + NXX_278, + NXX_279, + NXX_280, + NXX_281, + NXX_282, + NXX_283, + NXX_284, + NXX_285, + NXX_286, + NXX_287, + NXX_288, + NXX_289, + NXX_290, + NXX_291, + NXX_292, + NXX_293, + NXX_294, + NXX_295, + NXX_296, + NXX_297, + NXX_298, + NXX_299, + NXX_300, + NXX_301, + NXX_302, + NXX_303, + NXX_304, + NXX_305, + NXX_306, + NXX_307, + NXX_308, + NXX_309, + NXX_310, + NXX_311, + NXX_312, + NXX_313, + NXX_314, + NXX_315, + NXX_316, + NXX_317, + NXX_318, + NXX_319, + NXX_320, + NXX_321, + NXX_322, + NXX_323, + NXX_324, + NXX_325, + NXX_326, + NXX_327, + NXX_328, + NXX_329, + NXX_330, + NXX_331, + NXX_332, + NXX_333, + NXX_334, + NXX_335, + NXX_336, + NXX_337, + NXX_338, + NXX_339, + NXX_340, + NXX_341, + NXX_342, + NXX_343, + NXX_344, + NXX_345, + NXX_346, + NXX_347, + NXX_348, + NXX_349, + NXX_350, + NXX_351, + NXX_352, + NXX_353, + NXX_354, + NXX_355, + NXX_356, + NXX_357, + NXX_358, + NXX_359, + NXX_360, + NXX_361, + NXX_362, + NXX_363, + NXX_364, + NXX_365, + NXX_366, + NXX_367, + NXX_368, + NXX_369, + NXX_370, + NXX_371, + NXX_372, + NXX_373, + NXX_374, + NXX_375, + NXX_376, + NXX_377, + NXX_378, + NXX_379, + NXX_380, + NXX_381, + NXX_382, + NXX_383, + NXX_384, + NXX_385, + NXX_386, + NXX_387, + NXX_388, + NXX_389, + NXX_390, + NXX_391, + NXX_392, + NXX_393, + NXX_394, + NXX_395, + NXX_396, + NXX_397, + NXX_398, + NXX_399, + NXX_400, + NXX_401, + NXX_402, + NXX_403, + NXX_404, + NXX_405, + NXX_406, + NXX_407, + NXX_408, + NXX_409, + NXX_410, + NXX_411, + NXX_412, + NXX_413, + NXX_414, + NXX_415, + NXX_416, + NXX_417, + NXX_418, + NXX_419, + NXX_420, + NXX_421, + NXX_422, + NXX_423, + NXX_424, + NXX_425, + NXX_426, + NXX_427, + NXX_428, + NXX_429, + NXX_430, + NXX_431, + NXX_432, + NXX_433, + NXX_434, + NXX_435, + NXX_436, + NXX_437, + NXX_438, + NXX_439, + NXX_440, + NXX_441, + NXX_442, + NXX_443, + NXX_444, + NXX_445, + NXX_446, + NXX_447, + NXX_448, + NXX_449, + NXX_450, + NXX_451, + NXX_452, + NXX_453, + NXX_454, + NXX_455, + NXX_456, + NXX_457, + NXX_458, + NXX_459, + NXX_460, + NXX_461, + NXX_462, + NXX_463, + NXX_464, + NXX_465, + NXX_466, + NXX_467, + NXX_468, + NXX_469, + NXX_470, + NXX_471, + NXX_472, + NXX_473, + NXX_474, + NXX_475, + NXX_476, + NXX_477, + NXX_478, + NXX_479, + NXX_480, + NXX_481, + NXX_482, + NXX_483, + NXX_484, + NXX_485, + NXX_486, + NXX_487, + NXX_488, + NXX_489, + NXX_490, + NXX_491, + NXX_492, + NXX_493, + NXX_494, + NXX_495, + NXX_496, + NXX_497, + NXX_498, + NXX_499, + NXX_500, + NXX_501, + NXX_502, + NXX_503, + NXX_504, + NXX_505, + NXX_506, + NXX_507, + NXX_508, + NXX_509, + NXX_510, + NXX_511, + NXX_512, + ; + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_NCR1632_0M.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash1T.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash1T.java new file mode 100644 index 0000000..c08888a --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash1T.java @@ -0,0 +1,553 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * "FC.NCR1632-1T" Four Corner New Counting Rods selects the Terminator pie. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotNCR1632Dash1T implements FourCornerDotCakePoint { + NXX_001, + NXX_002, + NXX_003, + NXX_004, + NXX_005, + NXX_006, + NXX_007, + NXX_008, + NXX_009, + NXX_010, + NXX_011, + NXX_012, + NXX_013, + NXX_014, + NXX_015, + NXX_016, + NXX_017, + NXX_018, + NXX_019, + NXX_020, + NXX_021, + NXX_022, + NXX_023, + NXX_024, + NXX_025, + NXX_026, + NXX_027, + NXX_028, + NXX_029, + NXX_030, + NXX_031, + NXX_032, + NXX_033, + NXX_034, + NXX_035, + NXX_036, + NXX_037, + NXX_038, + NXX_039, + NXX_040, + NXX_041, + NXX_042, + NXX_043, + NXX_044, + NXX_045, + NXX_046, + NXX_047, + NXX_048, + NXX_049, + NXX_050, + NXX_051, + NXX_052, + NXX_053, + NXX_054, + NXX_055, + NXX_056, + NXX_057, + NXX_058, + NXX_059, + NXX_060, + NXX_061, + NXX_062, + NXX_063, + NXX_064, + NXX_065, + NXX_066, + NXX_067, + NXX_068, + NXX_069, + NXX_070, + NXX_071, + NXX_072, + NXX_073, + NXX_074, + NXX_075, + NXX_076, + NXX_077, + NXX_078, + NXX_079, + NXX_080, + NXX_081, + NXX_082, + NXX_083, + NXX_084, + NXX_085, + NXX_086, + NXX_087, + NXX_088, + NXX_089, + NXX_090, + NXX_091, + NXX_092, + NXX_093, + NXX_094, + NXX_095, + NXX_096, + NXX_097, + NXX_098, + NXX_099, + NXX_100, + NXX_101, + NXX_102, + NXX_103, + NXX_104, + NXX_105, + NXX_106, + NXX_107, + NXX_108, + NXX_109, + NXX_110, + NXX_111, + NXX_112, + NXX_113, + NXX_114, + NXX_115, + NXX_116, + NXX_117, + NXX_118, + NXX_119, + NXX_120, + NXX_121, + NXX_122, + NXX_123, + NXX_124, + NXX_125, + NXX_126, + NXX_127, + NXX_128, + NXX_129, + NXX_130, + NXX_131, + NXX_132, + NXX_133, + NXX_134, + NXX_135, + NXX_136, + NXX_137, + NXX_138, + NXX_139, + NXX_140, + NXX_141, + NXX_142, + NXX_143, + NXX_144, + NXX_145, + NXX_146, + NXX_147, + NXX_148, + NXX_149, + NXX_150, + NXX_151, + NXX_152, + NXX_153, + NXX_154, + NXX_155, + NXX_156, + NXX_157, + NXX_158, + NXX_159, + NXX_160, + NXX_161, + NXX_162, + NXX_163, + NXX_164, + NXX_165, + NXX_166, + NXX_167, + NXX_168, + NXX_169, + NXX_170, + NXX_171, + NXX_172, + NXX_173, + NXX_174, + NXX_175, + NXX_176, + NXX_177, + NXX_178, + NXX_179, + NXX_180, + NXX_181, + NXX_182, + NXX_183, + NXX_184, + NXX_185, + NXX_186, + NXX_187, + NXX_188, + NXX_189, + NXX_190, + NXX_191, + NXX_192, + NXX_193, + NXX_194, + NXX_195, + NXX_196, + NXX_197, + NXX_198, + NXX_199, + NXX_200, + NXX_201, + NXX_202, + NXX_203, + NXX_204, + NXX_205, + NXX_206, + NXX_207, + NXX_208, + NXX_209, + NXX_210, + NXX_211, + NXX_212, + NXX_213, + NXX_214, + NXX_215, + NXX_216, + NXX_217, + NXX_218, + NXX_219, + NXX_220, + NXX_221, + NXX_222, + NXX_223, + NXX_224, + NXX_225, + NXX_226, + NXX_227, + NXX_228, + NXX_229, + NXX_230, + NXX_231, + NXX_232, + NXX_233, + NXX_234, + NXX_235, + NXX_236, + NXX_237, + NXX_238, + NXX_239, + NXX_240, + NXX_241, + NXX_242, + NXX_243, + NXX_244, + NXX_245, + NXX_246, + NXX_247, + NXX_248, + NXX_249, + NXX_250, + NXX_251, + NXX_252, + NXX_253, + NXX_254, + NXX_255, + NXX_256, + NXX_257, + NXX_258, + NXX_259, + NXX_260, + NXX_261, + NXX_262, + NXX_263, + NXX_264, + NXX_265, + NXX_266, + NXX_267, + NXX_268, + NXX_269, + NXX_270, + NXX_271, + NXX_272, + NXX_273, + NXX_274, + NXX_275, + NXX_276, + NXX_277, + NXX_278, + NXX_279, + NXX_280, + NXX_281, + NXX_282, + NXX_283, + NXX_284, + NXX_285, + NXX_286, + NXX_287, + NXX_288, + NXX_289, + NXX_290, + NXX_291, + NXX_292, + NXX_293, + NXX_294, + NXX_295, + NXX_296, + NXX_297, + NXX_298, + NXX_299, + NXX_300, + NXX_301, + NXX_302, + NXX_303, + NXX_304, + NXX_305, + NXX_306, + NXX_307, + NXX_308, + NXX_309, + NXX_310, + NXX_311, + NXX_312, + NXX_313, + NXX_314, + NXX_315, + NXX_316, + NXX_317, + NXX_318, + NXX_319, + NXX_320, + NXX_321, + NXX_322, + NXX_323, + NXX_324, + NXX_325, + NXX_326, + NXX_327, + NXX_328, + NXX_329, + NXX_330, + NXX_331, + NXX_332, + NXX_333, + NXX_334, + NXX_335, + NXX_336, + NXX_337, + NXX_338, + NXX_339, + NXX_340, + NXX_341, + NXX_342, + NXX_343, + NXX_344, + NXX_345, + NXX_346, + NXX_347, + NXX_348, + NXX_349, + NXX_350, + NXX_351, + NXX_352, + NXX_353, + NXX_354, + NXX_355, + NXX_356, + NXX_357, + NXX_358, + NXX_359, + NXX_360, + NXX_361, + NXX_362, + NXX_363, + NXX_364, + NXX_365, + NXX_366, + NXX_367, + NXX_368, + NXX_369, + NXX_370, + NXX_371, + NXX_372, + NXX_373, + NXX_374, + NXX_375, + NXX_376, + NXX_377, + NXX_378, + NXX_379, + NXX_380, + NXX_381, + NXX_382, + NXX_383, + NXX_384, + NXX_385, + NXX_386, + NXX_387, + NXX_388, + NXX_389, + NXX_390, + NXX_391, + NXX_392, + NXX_393, + NXX_394, + NXX_395, + NXX_396, + NXX_397, + NXX_398, + NXX_399, + NXX_400, + NXX_401, + NXX_402, + NXX_403, + NXX_404, + NXX_405, + NXX_406, + NXX_407, + NXX_408, + NXX_409, + NXX_410, + NXX_411, + NXX_412, + NXX_413, + NXX_414, + NXX_415, + NXX_416, + NXX_417, + NXX_418, + NXX_419, + NXX_420, + NXX_421, + NXX_422, + NXX_423, + NXX_424, + NXX_425, + NXX_426, + NXX_427, + NXX_428, + NXX_429, + NXX_430, + NXX_431, + NXX_432, + NXX_433, + NXX_434, + NXX_435, + NXX_436, + NXX_437, + NXX_438, + NXX_439, + NXX_440, + NXX_441, + NXX_442, + NXX_443, + NXX_444, + NXX_445, + NXX_446, + NXX_447, + NXX_448, + NXX_449, + NXX_450, + NXX_451, + NXX_452, + NXX_453, + NXX_454, + NXX_455, + NXX_456, + NXX_457, + NXX_458, + NXX_459, + NXX_460, + NXX_461, + NXX_462, + NXX_463, + NXX_464, + NXX_465, + NXX_466, + NXX_467, + NXX_468, + NXX_469, + NXX_470, + NXX_471, + NXX_472, + NXX_473, + NXX_474, + NXX_475, + NXX_476, + NXX_477, + NXX_478, + NXX_479, + NXX_480, + NXX_481, + NXX_482, + NXX_483, + NXX_484, + NXX_485, + NXX_486, + NXX_487, + NXX_488, + NXX_489, + NXX_490, + NXX_491, + NXX_492, + NXX_493, + NXX_494, + NXX_495, + NXX_496, + NXX_497, + NXX_498, + NXX_499, + NXX_500, + NXX_501, + NXX_502, + NXX_503, + NXX_504, + NXX_505, + NXX_506, + NXX_507, + NXX_508, + NXX_509, + NXX_510, + NXX_511, + NXX_512, + ; + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_NCR1632_1T.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash1V.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash1V.java new file mode 100644 index 0000000..f6d8797 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotNCR1632Dash1V.java @@ -0,0 +1,553 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * "FC.NCR1632-1V" Four Corner New Counting Rods One Value of a terminator slice. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotNCR1632Dash1V implements FourCornerDotCakePoint { + NXX_001, + NXX_002, + NXX_003, + NXX_004, + NXX_005, + NXX_006, + NXX_007, + NXX_008, + NXX_009, + NXX_010, + NXX_011, + NXX_012, + NXX_013, + NXX_014, + NXX_015, + NXX_016, + NXX_017, + NXX_018, + NXX_019, + NXX_020, + NXX_021, + NXX_022, + NXX_023, + NXX_024, + NXX_025, + NXX_026, + NXX_027, + NXX_028, + NXX_029, + NXX_030, + NXX_031, + NXX_032, + NXX_033, + NXX_034, + NXX_035, + NXX_036, + NXX_037, + NXX_038, + NXX_039, + NXX_040, + NXX_041, + NXX_042, + NXX_043, + NXX_044, + NXX_045, + NXX_046, + NXX_047, + NXX_048, + NXX_049, + NXX_050, + NXX_051, + NXX_052, + NXX_053, + NXX_054, + NXX_055, + NXX_056, + NXX_057, + NXX_058, + NXX_059, + NXX_060, + NXX_061, + NXX_062, + NXX_063, + NXX_064, + NXX_065, + NXX_066, + NXX_067, + NXX_068, + NXX_069, + NXX_070, + NXX_071, + NXX_072, + NXX_073, + NXX_074, + NXX_075, + NXX_076, + NXX_077, + NXX_078, + NXX_079, + NXX_080, + NXX_081, + NXX_082, + NXX_083, + NXX_084, + NXX_085, + NXX_086, + NXX_087, + NXX_088, + NXX_089, + NXX_090, + NXX_091, + NXX_092, + NXX_093, + NXX_094, + NXX_095, + NXX_096, + NXX_097, + NXX_098, + NXX_099, + NXX_100, + NXX_101, + NXX_102, + NXX_103, + NXX_104, + NXX_105, + NXX_106, + NXX_107, + NXX_108, + NXX_109, + NXX_110, + NXX_111, + NXX_112, + NXX_113, + NXX_114, + NXX_115, + NXX_116, + NXX_117, + NXX_118, + NXX_119, + NXX_120, + NXX_121, + NXX_122, + NXX_123, + NXX_124, + NXX_125, + NXX_126, + NXX_127, + NXX_128, + NXX_129, + NXX_130, + NXX_131, + NXX_132, + NXX_133, + NXX_134, + NXX_135, + NXX_136, + NXX_137, + NXX_138, + NXX_139, + NXX_140, + NXX_141, + NXX_142, + NXX_143, + NXX_144, + NXX_145, + NXX_146, + NXX_147, + NXX_148, + NXX_149, + NXX_150, + NXX_151, + NXX_152, + NXX_153, + NXX_154, + NXX_155, + NXX_156, + NXX_157, + NXX_158, + NXX_159, + NXX_160, + NXX_161, + NXX_162, + NXX_163, + NXX_164, + NXX_165, + NXX_166, + NXX_167, + NXX_168, + NXX_169, + NXX_170, + NXX_171, + NXX_172, + NXX_173, + NXX_174, + NXX_175, + NXX_176, + NXX_177, + NXX_178, + NXX_179, + NXX_180, + NXX_181, + NXX_182, + NXX_183, + NXX_184, + NXX_185, + NXX_186, + NXX_187, + NXX_188, + NXX_189, + NXX_190, + NXX_191, + NXX_192, + NXX_193, + NXX_194, + NXX_195, + NXX_196, + NXX_197, + NXX_198, + NXX_199, + NXX_200, + NXX_201, + NXX_202, + NXX_203, + NXX_204, + NXX_205, + NXX_206, + NXX_207, + NXX_208, + NXX_209, + NXX_210, + NXX_211, + NXX_212, + NXX_213, + NXX_214, + NXX_215, + NXX_216, + NXX_217, + NXX_218, + NXX_219, + NXX_220, + NXX_221, + NXX_222, + NXX_223, + NXX_224, + NXX_225, + NXX_226, + NXX_227, + NXX_228, + NXX_229, + NXX_230, + NXX_231, + NXX_232, + NXX_233, + NXX_234, + NXX_235, + NXX_236, + NXX_237, + NXX_238, + NXX_239, + NXX_240, + NXX_241, + NXX_242, + NXX_243, + NXX_244, + NXX_245, + NXX_246, + NXX_247, + NXX_248, + NXX_249, + NXX_250, + NXX_251, + NXX_252, + NXX_253, + NXX_254, + NXX_255, + NXX_256, + NXX_257, + NXX_258, + NXX_259, + NXX_260, + NXX_261, + NXX_262, + NXX_263, + NXX_264, + NXX_265, + NXX_266, + NXX_267, + NXX_268, + NXX_269, + NXX_270, + NXX_271, + NXX_272, + NXX_273, + NXX_274, + NXX_275, + NXX_276, + NXX_277, + NXX_278, + NXX_279, + NXX_280, + NXX_281, + NXX_282, + NXX_283, + NXX_284, + NXX_285, + NXX_286, + NXX_287, + NXX_288, + NXX_289, + NXX_290, + NXX_291, + NXX_292, + NXX_293, + NXX_294, + NXX_295, + NXX_296, + NXX_297, + NXX_298, + NXX_299, + NXX_300, + NXX_301, + NXX_302, + NXX_303, + NXX_304, + NXX_305, + NXX_306, + NXX_307, + NXX_308, + NXX_309, + NXX_310, + NXX_311, + NXX_312, + NXX_313, + NXX_314, + NXX_315, + NXX_316, + NXX_317, + NXX_318, + NXX_319, + NXX_320, + NXX_321, + NXX_322, + NXX_323, + NXX_324, + NXX_325, + NXX_326, + NXX_327, + NXX_328, + NXX_329, + NXX_330, + NXX_331, + NXX_332, + NXX_333, + NXX_334, + NXX_335, + NXX_336, + NXX_337, + NXX_338, + NXX_339, + NXX_340, + NXX_341, + NXX_342, + NXX_343, + NXX_344, + NXX_345, + NXX_346, + NXX_347, + NXX_348, + NXX_349, + NXX_350, + NXX_351, + NXX_352, + NXX_353, + NXX_354, + NXX_355, + NXX_356, + NXX_357, + NXX_358, + NXX_359, + NXX_360, + NXX_361, + NXX_362, + NXX_363, + NXX_364, + NXX_365, + NXX_366, + NXX_367, + NXX_368, + NXX_369, + NXX_370, + NXX_371, + NXX_372, + NXX_373, + NXX_374, + NXX_375, + NXX_376, + NXX_377, + NXX_378, + NXX_379, + NXX_380, + NXX_381, + NXX_382, + NXX_383, + NXX_384, + NXX_385, + NXX_386, + NXX_387, + NXX_388, + NXX_389, + NXX_390, + NXX_391, + NXX_392, + NXX_393, + NXX_394, + NXX_395, + NXX_396, + NXX_397, + NXX_398, + NXX_399, + NXX_400, + NXX_401, + NXX_402, + NXX_403, + NXX_404, + NXX_405, + NXX_406, + NXX_407, + NXX_408, + NXX_409, + NXX_410, + NXX_411, + NXX_412, + NXX_413, + NXX_414, + NXX_415, + NXX_416, + NXX_417, + NXX_418, + NXX_419, + NXX_420, + NXX_421, + NXX_422, + NXX_423, + NXX_424, + NXX_425, + NXX_426, + NXX_427, + NXX_428, + NXX_429, + NXX_430, + NXX_431, + NXX_432, + NXX_433, + NXX_434, + NXX_435, + NXX_436, + NXX_437, + NXX_438, + NXX_439, + NXX_440, + NXX_441, + NXX_442, + NXX_443, + NXX_444, + NXX_445, + NXX_446, + NXX_447, + NXX_448, + NXX_449, + NXX_450, + NXX_451, + NXX_452, + NXX_453, + NXX_454, + NXX_455, + NXX_456, + NXX_457, + NXX_458, + NXX_459, + NXX_460, + NXX_461, + NXX_462, + NXX_463, + NXX_464, + NXX_465, + NXX_466, + NXX_467, + NXX_468, + NXX_469, + NXX_470, + NXX_471, + NXX_472, + NXX_473, + NXX_474, + NXX_475, + NXX_476, + NXX_477, + NXX_478, + NXX_479, + NXX_480, + NXX_481, + NXX_482, + NXX_483, + NXX_484, + NXX_485, + NXX_486, + NXX_487, + NXX_488, + NXX_489, + NXX_490, + NXX_491, + NXX_492, + NXX_493, + NXX_494, + NXX_495, + NXX_496, + NXX_497, + NXX_498, + NXX_499, + NXX_500, + NXX_501, + NXX_502, + NXX_503, + NXX_504, + NXX_505, + NXX_506, + NXX_507, + NXX_508, + NXX_509, + NXX_510, + NXX_511, + NXX_512, + ; + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_NCR1632_1V.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0801DashH3.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0801DashH3.java new file mode 100644 index 0000000..34ffa6b --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0801DashH3.java @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * "FC.OCE0801-H3" Four Corner Octal Character Encoding in Hinari 3 bit. + * + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotOCE0801DashH3 implements FourCornerDotCakePoint { + NXX_001, + NXX_002, + NXX_003, + NXX_004, + NXX_005, + NXX_006, + NXX_007, + NXX_008, + ; + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_OCE0801_H3.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0808DashH6.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0808DashH6.java new file mode 100644 index 0000000..13e97e4 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0808DashH6.java @@ -0,0 +1,106 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * "FC.OCE0808-H6" Four Corner Octal Character Encoding in Hinari 6 bit. + * + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotOCE0808DashH6 implements FourCornerDotCakePoint { + NXX_001, + NXX_002, + NXX_003, + NXX_004, + NXX_005, + NXX_006, + NXX_007, + NXX_008, + NXX_009, + NXX_010, + NXX_011, + NXX_012, + NXX_013, + NXX_014, + NXX_015, + NXX_016, + NXX_017, + NXX_018, + NXX_019, + NXX_020, + NXX_021, + NXX_022, + NXX_023, + NXX_024, + NXX_025, + NXX_026, + NXX_027, + NXX_028, + NXX_029, + NXX_030, + NXX_031, + NXX_032, + NXX_033, + NXX_034, + NXX_035, + NXX_036, + NXX_037, + NXX_038, + NXX_039, + NXX_040, + NXX_041, + NXX_042, + NXX_043, + NXX_044, + NXX_045, + NXX_046, + NXX_047, + NXX_048, + NXX_049, + NXX_050, + NXX_051, + NXX_052, + NXX_053, + NXX_054, + NXX_055, + NXX_056, + NXX_057, + NXX_058, + NXX_059, + NXX_060, + NXX_061, + NXX_062, + NXX_063, + NXX_064, + ; + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_OCE0808_H6.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0864DashH9.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0864DashH9.java new file mode 100644 index 0000000..3ee3054 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/FCDotOCE0864DashH9.java @@ -0,0 +1,554 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import org.x4o.o2o.fc18.FourCornerDotCake; +import org.x4o.o2o.fc18.FourCornerDotCakePoint; + +/** + * "FC.OCE0864-H9" Four Corner Octal Character Encoding in Hinari 9 bit. + * + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public enum FCDotOCE0864DashH9 implements FourCornerDotCakePoint { + NXX_001, + NXX_002, + NXX_003, + NXX_004, + NXX_005, + NXX_006, + NXX_007, + NXX_008, + NXX_009, + NXX_010, + NXX_011, + NXX_012, + NXX_013, + NXX_014, + NXX_015, + NXX_016, + NXX_017, + NXX_018, + NXX_019, + NXX_020, + NXX_021, + NXX_022, + NXX_023, + NXX_024, + NXX_025, + NXX_026, + NXX_027, + NXX_028, + NXX_029, + NXX_030, + NXX_031, + NXX_032, + NXX_033, + NXX_034, + NXX_035, + NXX_036, + NXX_037, + NXX_038, + NXX_039, + NXX_040, + NXX_041, + NXX_042, + NXX_043, + NXX_044, + NXX_045, + NXX_046, + NXX_047, + NXX_048, + NXX_049, + NXX_050, + NXX_051, + NXX_052, + NXX_053, + NXX_054, + NXX_055, + NXX_056, + NXX_057, + NXX_058, + NXX_059, + NXX_060, + NXX_061, + NXX_062, + NXX_063, + NXX_064, + NXX_065, + NXX_066, + NXX_067, + NXX_068, + NXX_069, + NXX_070, + NXX_071, + NXX_072, + NXX_073, + NXX_074, + NXX_075, + NXX_076, + NXX_077, + NXX_078, + NXX_079, + NXX_080, + NXX_081, + NXX_082, + NXX_083, + NXX_084, + NXX_085, + NXX_086, + NXX_087, + NXX_088, + NXX_089, + NXX_090, + NXX_091, + NXX_092, + NXX_093, + NXX_094, + NXX_095, + NXX_096, + NXX_097, + NXX_098, + NXX_099, + NXX_100, + NXX_101, + NXX_102, + NXX_103, + NXX_104, + NXX_105, + NXX_106, + NXX_107, + NXX_108, + NXX_109, + NXX_110, + NXX_111, + NXX_112, + NXX_113, + NXX_114, + NXX_115, + NXX_116, + NXX_117, + NXX_118, + NXX_119, + NXX_120, + NXX_121, + NXX_122, + NXX_123, + NXX_124, + NXX_125, + NXX_126, + NXX_127, + NXX_128, + NXX_129, + NXX_130, + NXX_131, + NXX_132, + NXX_133, + NXX_134, + NXX_135, + NXX_136, + NXX_137, + NXX_138, + NXX_139, + NXX_140, + NXX_141, + NXX_142, + NXX_143, + NXX_144, + NXX_145, + NXX_146, + NXX_147, + NXX_148, + NXX_149, + NXX_150, + NXX_151, + NXX_152, + NXX_153, + NXX_154, + NXX_155, + NXX_156, + NXX_157, + NXX_158, + NXX_159, + NXX_160, + NXX_161, + NXX_162, + NXX_163, + NXX_164, + NXX_165, + NXX_166, + NXX_167, + NXX_168, + NXX_169, + NXX_170, + NXX_171, + NXX_172, + NXX_173, + NXX_174, + NXX_175, + NXX_176, + NXX_177, + NXX_178, + NXX_179, + NXX_180, + NXX_181, + NXX_182, + NXX_183, + NXX_184, + NXX_185, + NXX_186, + NXX_187, + NXX_188, + NXX_189, + NXX_190, + NXX_191, + NXX_192, + NXX_193, + NXX_194, + NXX_195, + NXX_196, + NXX_197, + NXX_198, + NXX_199, + NXX_200, + NXX_201, + NXX_202, + NXX_203, + NXX_204, + NXX_205, + NXX_206, + NXX_207, + NXX_208, + NXX_209, + NXX_210, + NXX_211, + NXX_212, + NXX_213, + NXX_214, + NXX_215, + NXX_216, + NXX_217, + NXX_218, + NXX_219, + NXX_220, + NXX_221, + NXX_222, + NXX_223, + NXX_224, + NXX_225, + NXX_226, + NXX_227, + NXX_228, + NXX_229, + NXX_230, + NXX_231, + NXX_232, + NXX_233, + NXX_234, + NXX_235, + NXX_236, + NXX_237, + NXX_238, + NXX_239, + NXX_240, + NXX_241, + NXX_242, + NXX_243, + NXX_244, + NXX_245, + NXX_246, + NXX_247, + NXX_248, + NXX_249, + NXX_250, + NXX_251, + NXX_252, + NXX_253, + NXX_254, + NXX_255, + NXX_256, + NXX_257, + NXX_258, + NXX_259, + NXX_260, + NXX_261, + NXX_262, + NXX_263, + NXX_264, + NXX_265, + NXX_266, + NXX_267, + NXX_268, + NXX_269, + NXX_270, + NXX_271, + NXX_272, + NXX_273, + NXX_274, + NXX_275, + NXX_276, + NXX_277, + NXX_278, + NXX_279, + NXX_280, + NXX_281, + NXX_282, + NXX_283, + NXX_284, + NXX_285, + NXX_286, + NXX_287, + NXX_288, + NXX_289, + NXX_290, + NXX_291, + NXX_292, + NXX_293, + NXX_294, + NXX_295, + NXX_296, + NXX_297, + NXX_298, + NXX_299, + NXX_300, + NXX_301, + NXX_302, + NXX_303, + NXX_304, + NXX_305, + NXX_306, + NXX_307, + NXX_308, + NXX_309, + NXX_310, + NXX_311, + NXX_312, + NXX_313, + NXX_314, + NXX_315, + NXX_316, + NXX_317, + NXX_318, + NXX_319, + NXX_320, + NXX_321, + NXX_322, + NXX_323, + NXX_324, + NXX_325, + NXX_326, + NXX_327, + NXX_328, + NXX_329, + NXX_330, + NXX_331, + NXX_332, + NXX_333, + NXX_334, + NXX_335, + NXX_336, + NXX_337, + NXX_338, + NXX_339, + NXX_340, + NXX_341, + NXX_342, + NXX_343, + NXX_344, + NXX_345, + NXX_346, + NXX_347, + NXX_348, + NXX_349, + NXX_350, + NXX_351, + NXX_352, + NXX_353, + NXX_354, + NXX_355, + NXX_356, + NXX_357, + NXX_358, + NXX_359, + NXX_360, + NXX_361, + NXX_362, + NXX_363, + NXX_364, + NXX_365, + NXX_366, + NXX_367, + NXX_368, + NXX_369, + NXX_370, + NXX_371, + NXX_372, + NXX_373, + NXX_374, + NXX_375, + NXX_376, + NXX_377, + NXX_378, + NXX_379, + NXX_380, + NXX_381, + NXX_382, + NXX_383, + NXX_384, + NXX_385, + NXX_386, + NXX_387, + NXX_388, + NXX_389, + NXX_390, + NXX_391, + NXX_392, + NXX_393, + NXX_394, + NXX_395, + NXX_396, + NXX_397, + NXX_398, + NXX_399, + NXX_400, + NXX_401, + NXX_402, + NXX_403, + NXX_404, + NXX_405, + NXX_406, + NXX_407, + NXX_408, + NXX_409, + NXX_410, + NXX_411, + NXX_412, + NXX_413, + NXX_414, + NXX_415, + NXX_416, + NXX_417, + NXX_418, + NXX_419, + NXX_420, + NXX_421, + NXX_422, + NXX_423, + NXX_424, + NXX_425, + NXX_426, + NXX_427, + NXX_428, + NXX_429, + NXX_430, + NXX_431, + NXX_432, + NXX_433, + NXX_434, + NXX_435, + NXX_436, + NXX_437, + NXX_438, + NXX_439, + NXX_440, + NXX_441, + NXX_442, + NXX_443, + NXX_444, + NXX_445, + NXX_446, + NXX_447, + NXX_448, + NXX_449, + NXX_450, + NXX_451, + NXX_452, + NXX_453, + NXX_454, + NXX_455, + NXX_456, + NXX_457, + NXX_458, + NXX_459, + NXX_460, + NXX_461, + NXX_462, + NXX_463, + NXX_464, + NXX_465, + NXX_466, + NXX_467, + NXX_468, + NXX_469, + NXX_470, + NXX_471, + NXX_472, + NXX_473, + NXX_474, + NXX_475, + NXX_476, + NXX_477, + NXX_478, + NXX_479, + NXX_480, + NXX_481, + NXX_482, + NXX_483, + NXX_484, + NXX_485, + NXX_486, + NXX_487, + NXX_488, + NXX_489, + NXX_490, + NXX_491, + NXX_492, + NXX_493, + NXX_494, + NXX_495, + NXX_496, + NXX_497, + NXX_498, + NXX_499, + NXX_500, + NXX_501, + NXX_502, + NXX_503, + NXX_504, + NXX_505, + NXX_506, + NXX_507, + NXX_508, + NXX_509, + NXX_510, + NXX_511, + NXX_512, + ; + + @Override + public int cakePoint() { + return FourCornerDotCake.FC_OCE0864_H9.getStart() + ordinal(); + } +} diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/package-info.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/package-info.java new file mode 100644 index 0000000..0b52484 --- /dev/null +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/fc18/zero33/package-info.java @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +/** + * Phone book of Amersfoort to lookup numbers to call. + * + * + * @since 1.0 + */ +package org.x4o.o2o.fc18.zero33; diff --git a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/octal/PrimordialOctalOrangeJuice.java b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/octal/PrimordialOctalOrangeJuice.java index 0478cba..ca761c3 100644 --- a/nx01-x4o-o2o/src/main/java/org/x4o/o2o/octal/PrimordialOctalOrangeJuice.java +++ b/nx01-x4o-o2o/src/main/java/org/x4o/o2o/octal/PrimordialOctalOrangeJuice.java @@ -33,7 +33,7 @@ package org.x4o.o2o.octal; /// @version ©Δ∞ 仙上主天 public interface PrimordialOctalOrangeJuice extends PrimordialOctalSkullBaitIterable { - static int MAX_VALUE = 262144; + static int MAX_VALUE = 262143; // The network order is big-endian = MSB first /* diff --git a/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerDotCakeTest.java b/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerDotCakeTest.java new file mode 100644 index 0000000..ccdcfea --- /dev/null +++ b/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerDotCakeTest.java @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + * Tests FourCornerDotCake values. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public class FourCornerDotCakeTest { + + @Test + public void testValues() throws Exception { + for (FourCornerDotCake v : FourCornerDotCake.values()) { + + Assertions.assertNotNull(v); + Assertions.assertTrue(v.getStart() < v.getStop()); + System.out.println("Cake start: 0x" + Integer.toHexString(v.getStart()) + " end: 0" + Integer.toHexString(v.getStop()) + " of " + v.name() + " size: " + v.getLength()); + } + } +} diff --git a/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplayTest.java b/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplayTest.java new file mode 100644 index 0000000..f4d531e --- /dev/null +++ b/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerUnicodeDisplayTest.java @@ -0,0 +1,88 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18; + +import java.util.ArrayList; +import java.util.List; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import org.x4o.o2o.fc18.zero33.FCDotCDC1604DashP6; + +/** + * Tests four corner displayed as unicode. + * + * @author Willem Cazander + * @version 1.0 Dec 23, 2024 + */ +public class FourCornerUnicodeDisplayTest { + + @Test + public void testMixedCasing() throws Exception { + List cdc = new ArrayList<>(); + cdc.add(FCDotCDC1604DashP6.NX01_A); + cdc.add(FCDotCDC1604DashP6.__SPACE); + cdc.add(FCDotCDC1604DashP6.NX02_B); + cdc.add(FCDotCDC1604DashP6.__GLUE); + cdc.add(FCDotCDC1604DashP6.NX03_C); + cdc.add(FCDotCDC1604DashP6.NX04_D); + cdc.add(FCDotCDC1604DashP6._DOT); + cdc.add(FCDotCDC1604DashP6.__GLUE); + cdc.add(FCDotCDC1604DashP6.NX10_J); + cdc.add(FCDotCDC1604DashP6.NX11_K); + + Assertions.assertEquals("A BCD.JK", FourCornerUnicodeDisplay.simple().renderFromP6(cdc)); + Assertions.assertEquals("a bCd.Jk", FourCornerUnicodeDisplay.mixed().renderFromP6(cdc)); + Assertions.assertEquals("a bᐧCd.Jk", FourCornerUnicodeDisplay.mixedᐧEskimo().renderFromP6(cdc)); + } + + @Test + public void testNumberTerminatorOutOfRange() throws Exception { + List cdc = new ArrayList<>(); + cdc.add(FCDotCDC1604DashP6.NX24_X); // = X + cdc.add(FCDotCDC1604DashP6.__PIE); + cdc.add(FCDotCDC1604DashP6._CARET); // ^ + cdc.add(FCDotCDC1604DashP6._PERCENT); // = % + cdc.add(FCDotCDC1604DashP6.__PIE); + cdc.add(FCDotCDC1604DashP6._AT); + cdc.add(FCDotCDC1604DashP6.NX11_K); // = K + + String out = FourCornerUnicodeDisplay.simple().renderFromP6(cdc); + Assertions.assertEquals("X^%@K", out); + } + + @Test + public void testNumberPieOutOfRange() throws Exception { + List cdc = new ArrayList<>(); + cdc.add(FCDotCDC1604DashP6.__PIE); + cdc.add(FCDotCDC1604DashP6.NX01_A); + cdc.add(FCDotCDC1604DashP6.NX02_B); // = B + cdc.add(FCDotCDC1604DashP6.__PIE); + cdc.add(FCDotCDC1604DashP6.NX09_I); + cdc.add(FCDotCDC1604DashP6.NX03_C); // = 3 + cdc.add(FCDotCDC1604DashP6.NX10_J); // = J + + String out = FourCornerUnicodeDisplay.simple().renderFromP6(cdc); + Assertions.assertEquals("B3J", out); + } +} diff --git a/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FCDotCDC1604DashP6Test.java b/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerUnicodeImportTest.java similarity index 67% rename from nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FCDotCDC1604DashP6Test.java rename to nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerUnicodeImportTest.java index 63bc072..d7b8ea1 100644 --- a/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FCDotCDC1604DashP6Test.java +++ b/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/FourCornerUnicodeImportTest.java @@ -22,38 +22,19 @@ */ package org.x4o.o2o.fc18; -import java.util.ArrayList; -import java.util.HashMap; import java.util.List; -import java.util.Map; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import org.x4o.o2o.fc18.zero33.FCDotCDC1604DashP6; /** - * Tests FCDotCDC1604DashP6 encoding. + * Tests four corner unicode import. * * @author Willem Cazander * @version 1.0 Dec 23, 2024 */ -public class FCDotCDC1604DashP6Test { - - @Test - public void testValues() throws Exception { - Assertions.assertEquals(64, FCDotCDC1604DashP6.length()); - boolean duplicate = false; - Map global = new HashMap<>(); - for (FCDotCDC1604DashP6 v : FCDotCDC1604DashP6.values()) { - Assertions.assertNotNull(v); - if (global.containsKey(v.asciiByte())) { - duplicate = true; - break; - } - global.put(v.asciiByte(), v); - } - Assertions.assertTrue(global.size() > 1); - Assertions.assertFalse(duplicate, "Duplicate ascii core value detected"); - } +public class FourCornerUnicodeImportTest { @Test public void testAsciiSimple() throws Exception { @@ -85,25 +66,6 @@ public class FCDotCDC1604DashP6Test { }); } - @Test - public void testMixedCasing() throws Exception { - List cdc = new ArrayList<>(); - cdc.add(FCDotCDC1604DashP6.NX01_A); - cdc.add(FCDotCDC1604DashP6.__SPACE); - cdc.add(FCDotCDC1604DashP6.NX02_B); - cdc.add(FCDotCDC1604DashP6.__GLUE); - cdc.add(FCDotCDC1604DashP6.NX03_C); - cdc.add(FCDotCDC1604DashP6.NX04_D); - cdc.add(FCDotCDC1604DashP6._DOT); - cdc.add(FCDotCDC1604DashP6.__GLUE); - cdc.add(FCDotCDC1604DashP6.NX10_J); - cdc.add(FCDotCDC1604DashP6.NX11_K); - - Assertions.assertEquals("A BCD.JK", FourCornerUnicodeDisplay.simple().renderFromP6(cdc)); - Assertions.assertEquals("a bCd.Jk", FourCornerUnicodeDisplay.mixed().renderFromP6(cdc)); - Assertions.assertEquals("a bᐧCd.Jk", FourCornerUnicodeDisplay.mixedᐧEskimo().renderFromP6(cdc)); - } - @Test public void testNumber012() throws Exception { List cdc = FourCornerUnicodeImport.lossy().convertToP6("01201337"); @@ -131,36 +93,6 @@ public class FCDotCDC1604DashP6Test { Assertions.assertEquals("01201337", out); } - @Test - public void testNumberTerminatorOutOfRange() throws Exception { - List cdc = new ArrayList<>(); - cdc.add(FCDotCDC1604DashP6.NX24_X); // = X - cdc.add(FCDotCDC1604DashP6.__PIE); - cdc.add(FCDotCDC1604DashP6._CARET); // ^ - cdc.add(FCDotCDC1604DashP6._PERCENT); // = % - cdc.add(FCDotCDC1604DashP6.__PIE); - cdc.add(FCDotCDC1604DashP6._AT); - cdc.add(FCDotCDC1604DashP6.NX11_K); // = K - - String out = FourCornerUnicodeDisplay.simple().renderFromP6(cdc); - Assertions.assertEquals("X^%@K", out); - } - - @Test - public void testNumberPieOutOfRange() throws Exception { - List cdc = new ArrayList<>(); - cdc.add(FCDotCDC1604DashP6.__PIE); - cdc.add(FCDotCDC1604DashP6.NX01_A); - cdc.add(FCDotCDC1604DashP6.NX02_B); // = B - cdc.add(FCDotCDC1604DashP6.__PIE); - cdc.add(FCDotCDC1604DashP6.NX09_I); - cdc.add(FCDotCDC1604DashP6.NX03_C); // = 3 - cdc.add(FCDotCDC1604DashP6.NX10_J); // = J - - String out = FourCornerUnicodeDisplay.simple().renderFromP6(cdc); - Assertions.assertEquals("B3J", out); - } - @Test public void testLineEndings() throws Exception { List cdc = FourCornerUnicodeImport.strict().convertToP6("A\nB\rC\r\nD\n"); diff --git a/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/zero33/FCDotCDC1604DashP6Test.java b/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/zero33/FCDotCDC1604DashP6Test.java new file mode 100644 index 0000000..0873411 --- /dev/null +++ b/nx01-x4o-o2o/src/test/java/org/x4o/o2o/fc18/zero33/FCDotCDC1604DashP6Test.java @@ -0,0 +1,55 @@ +/* + * Copyright (c) 2004-2014, Willem Cazander + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without modification, are permitted provided + * that the following conditions are met: + * + * * Redistributions of source code must retain the above copyright notice, this list of conditions and the + * following disclaimer. + * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and + * the following disclaimer in the documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL + * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT + * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +package org.x4o.o2o.fc18.zero33; + +import java.util.HashMap; +import java.util.Map; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +/** + * Tests FCDotCDC1604DashP6 encoding. + * + * @author Willem Cazander + * @version 1.0 Dec 30, 2024 + */ +public class FCDotCDC1604DashP6Test { + + @Test + public void testValues() throws Exception { + Assertions.assertEquals(64, FCDotCDC1604DashP6.length()); + boolean duplicate = false; + Map global = new HashMap<>(); + for (FCDotCDC1604DashP6 v : FCDotCDC1604DashP6.values()) { + Assertions.assertNotNull(v); + if (global.containsKey(v.asciiByte())) { + duplicate = true; + break; + } + global.put(v.asciiByte(), v); + } + Assertions.assertTrue(global.size() > 1); + Assertions.assertFalse(duplicate, "Duplicate ascii core value detected"); + } +}