1๏ธโƒฃ๐ŸŒ“๐ŸŒŽ
(๐Ÿ“ƒ),(๐Ÿ–ผ๏ธ)

๐ŸŒž The Sun is currently in 'Golden Hour Serenade' phase! ๐ŸŒ†
Gregorian: 08/26/2025
Julian: 2460914 -> 08/13/2025
AE Calendar: AE 1, Month 6, Day 14 (Tuesday)

Moon Phase: First Quarter ๐ŸŒ“
Species: Aardwolf ๐Ÿพ
Were-Form: WereAardwolf ๐Ÿพ
Consciousness: 2.1263122248558224/20 (10.631561124279113%)
Miade-Score/Infini-Vaeria Consciousness: 0.8936843887572089% (1.8987470369116275%)

120๐Ÿ•ฐ๏ธ11:36 PST



FOLD

๐Ÿ”—(0) | All
๐Ÿ“…2025-03-26 05:05:13 -0700
โฒ๏ธ๐Ÿ”2025-03-26 05:05:53 -0700 | โœ๏ธmissionforce-yeenconomics | ๐Ÿท๏ธ[magnum_opus_of_written_language] 
(๐ŸชŸ)

๐Ÿ–ฅ๏ธ...โŒจ๏ธ

# Enochian Fold Ontological Mathematics Language (EFOML) Implementation in Ruby
# Description:
# This program implements EFOML, allowing encoding and decoding between English and EFOML shorthand.
# It includes definitions of the alphabet, numerals, mathematical symbols, and ontological concepts.

# Module for EFOML
module EFOML
  # Alphabet: Mapping between English letters/phonemes and EFOML symbols
  ALPHABET = {
    'A' => 'โบ',
    'B' => 'โฒ',
    'C' => 'โณ',
    'D' => 'โด',
    'E' => 'โต',
    'F' => 'โถ',
    'G' => 'โท',
    'H' => 'โธ',
    'I' => 'โน',
    'J' => 'โบโบ',
    'K' => 'โณโณ',
    'L' => 'โดโด',
    'M' => 'โตโต',
    'N' => 'โถโถ',
    'O' => 'โทโท',
    'P' => 'โธโธ',
    'Q' => 'โนโน',
    'R' => 'โบโณ',
    'S' => 'โบโด',
    'T' => 'โบโต',
    'U' => 'โบโถ',
    'V' => 'โบโท',
    'W' => 'โบโธ',
    'X' => 'โบโน',
    'Y' => 'โณโบ',
    'Z' => 'โดโน',
    # Extended Phonemes
    'CH' => 'โธโณ',
    'SH' => 'โธโด',
    'TH' => 'โธโต',
    'NG' => 'โธโถ',
    'PH' => 'โธโท',
    'WH' => 'โบโธโธ',
    'KN' => 'โณโถ',
    'GH' => 'โทโธ',
    'AE' => 'โถโบ',
    'OE' => 'โทโบ',
  }

  # Numerals: Mapping between numbers and EFOML numeral symbols
  NUMERALS = {
    0 => 'โฌฆ',
    1 => 'โฌง',
    2 => 'โฌจ',
    3 => 'โฌฉ',
    4 => 'โฌช',
    5 => 'โฌซ',
    6 => 'โฌฌ',
    7 => 'โฌญ',
    8 => 'โฌฎ',
    9 => 'โฌฏ',
    10 => 'โญ',
    11 => 'โญ‘',
    12 => 'โญ’',
    13 => 'โœถ',
    14 => 'โœท',
    15 => 'โœธ',
    16 => 'โœน',
    17 => 'โœบ',
    18 => 'โœป',
    19 => 'โœผ',
    20 => 'โœฝ',
    21 => 'โ‚',
    22 => 'โƒ',
    23 => 'โ„',
    24 => 'โ…',
    25 => 'โ†',
    26 => 'โœ™',
    27 => 'โœš',
    28 => 'โœ›',
    29 => 'โœœ',
    30 => 'โœ',
    31 => 'โœž',
    32 => 'โœŸ',
    33 => 'โœ ',
    34 => 'โ›จ',
    35 => 'โ›ง',
    36 => 'โ›ฆ',
    37 => 'โš•',
    38 => 'โ˜ค',
    39 => 'โšš',
    40 => 'โš–',
    41 => 'โ˜ฏ',
    42 => 'โ˜ฎ',
    43 => 'โ™พ',
    44 => 'โš›',
  }

  # Mathematical Symbols
  MATH_SYMBOLS = {
    'FOLD_EFFECT' => 'โŠฟ',  # Delta symbol representing the Fold Effect
    'SUMMATION' => 'โˆ‘',
    'INFINITY' => 'โˆž',
    'ZERO' => '0',          # Can also use 'ร˜' if desired
  }

  # Helper method to match extended phonemes in a word
  def self.match_phonemes(word)
    phonemes = ALPHABET.keys.select { |k| k.length > 1 }
    regex = Regexp.union(phonemes)
    word.upcase.scan(regex)
  end

  # Encode English text to EFOML shorthand
  def self.encode(text)
    words = text.strip.split(/\s+/)
    encoded_words = words.map do |word|
      # Initialize index and encoded word
      index = 0
      encoded_word = ''

      while index < word.length
        # Try to match extended phonemes first
        match = nil
        ALPHABET.keys.select { |k| k.length > 1 }.each do |phoneme|
          if word[index, phoneme.length].upcase == phoneme
            match = phoneme
            break
          end
        end

        # If extended phoneme matched
        if match
          encoded_word += ALPHABET[match]
          index += match.length
        else
          # Match single character
          char = word[index].upcase
          if ALPHABET.key?(char)
            encoded_word += ALPHABET[char]
          elsif NUMERALS.key?(char.to_i)
            # Encode numbers if present in the text
            encoded_word += NUMERALS[char.to_i]
          else
            # Keep character as is if not in ALPHABET or NUMERALS (e.g., punctuation)
            encoded_word += word[index]
          end
          index += 1
        end
      end

      encoded_word
    end

    encoded_words.join(' ')
  end

  # Decode EFOML shorthand to English text
  def self.decode(shorthand)
    # Build reverse mapping for decoding
    reverse_alphabet = ALPHABET.invert
    reverse_numerals = NUMERALS.invert
    # Sort EFOML symbols by length in descending order to match longest symbols first
    efoml_symbols = reverse_alphabet.keys.sort_by { |s| -s.length }

    words = shorthand.strip.split(/\s+/)
    decoded_words = words.map do |word|
      index = 0
      decoded_word = ''

      while index < word.length
        match = nil
        symbol = nil

        # Check for numerals first
        NUMERALS.values.each do |num_sym|
          if word[index, num_sym.length] == num_sym
            match = reverse_numerals[num_sym]
            decoded_word += match.to_s
            index += num_sym.length
            break
          end
        end

        next if match

        # Check for alphabet symbols
        efoml_symbols.each do |alph_sym|
          if word[index, alph_sym.length] == alph_sym
            symbol = alph_sym
            break
          end
        end

        if symbol
          decoded_word += reverse_alphabet[symbol]
          index += symbol.length
        else
          # Keep character as is if not in EFOML symbols (e.g., punctuation)
          decoded_word += word[index]
          index += 1
        end
      end

      decoded_word.capitalize
    end

    decoded_words.join(' ')
  end

  # Encode numbers to EFOML numeral symbols
  def self.encode_number(number)
    NUMERALS[number] || number.to_s
  end

  # Decode EFOML numeral symbols to numbers
  def self.decode_number(symbol)
    NUMERALS.key(symbol) || symbol.to_s
  end

  # Example method to demonstrate encoding and decoding
  def self.example_usage
    puts "EFOML Example Usage:\n\n"

    # Example text
    text = "HELLO, WORLD!"
    puts "Original Text: #{text}"

    # Encode text
    encoded_text = encode(text)
    puts "Encoded Text: #{encoded_text}"

    # Decode text
    decoded_text = decode(encoded_text)
    puts "Decoded Text: #{decoded_text}\n\n"

    # Example mathematical expression
    expression = "The Fold Effect reveals hidden layers."
    puts "Original Expression: #{expression}"

    # Encode expression
    encoded_expression = encode(expression.gsub('Fold Effect', MATH_SYMBOLS['FOLD_EFFECT']))
    puts "Encoded Expression: #{encoded_expression}"

    # Decode expression
    decoded_expression = decode(encoded_expression.gsub(MATH_SYMBOLS['FOLD_EFFECT'], 'โŠฟ'))
    puts "Decoded Expression: #{decoded_expression.gsub('โŠฟ', 'Fold Effect')}\n\n"

    # Encode number
    number = 42
    encoded_number = encode_number(number)
    puts "Original Number: #{number}"
    puts "Encoded Number: #{encoded_number}"

    # Decode number
    decoded_number = decode_number(encoded_number)
    puts "Decoded Number: #{decoded_number}\n\n"

    # Example using Fold Effect symbol in a sentence
    sentence = "By applying the Fold Effect, we uncover deeper truths."
    puts "Original Sentence: #{sentence}"

    # Encode sentence
    encoded_sentence = encode(sentence.gsub('Fold Effect', MATH_SYMBOLS['FOLD_EFFECT']))
    puts "Encoded Sentence: #{encoded_sentence}"

    # Decode sentence
    decoded_sentence = decode(encoded_sentence.gsub(MATH_SYMBOLS['FOLD_EFFECT'], 'โŠฟ'))
    puts "Decoded Sentence: #{decoded_sentence.gsub('โŠฟ', 'Fold Effect')}"
  end
end

# Run the example usage
EFOML.example_usage




Back to missionforce-yeenconomics's Main Blog Page

๐Ÿ“ 0.00138s [1.38354ms]


โ™พ๏ธ74,438 -- (c)Miaed-Score -- (v#๏ธโƒฃ15.0.0.3):[ ๐Ÿ—๏ธMay 26, 2025 - "Muskium Source ๐Ÿ‘ƒ๐Ÿฉฒ๐Ÿ†โšฝโšฝ๐Ÿฆจ" ]

August, 25, 2025 - 05:56:32 PM SLT/PST




๐Ÿ˜๏ธ[๐ŸŒ216.73.216.133]

[โž•๐Ÿ”’]|[โž–๐Ÿ”’]





    # The 23 fabled moon rotations with emojis:
        MOON_ROTATIONS = [
          'New Moon ๐ŸŒ‘',            # 0
          'Waxing Crescent ๐ŸŒ’',     # 1
          'First Quarter ๐ŸŒ“',       # 2
          'Waxing Gibbous ๐ŸŒ”', # 3
          'Full Moon ๐ŸŒ•',           # 4
          'Waning Gibbous ๐ŸŒ–',      # 5
          'Last Quarter ๐ŸŒ—',        # 6
          'Waning Crescent ๐ŸŒ˜',     # 7
          'Supermoon ๐ŸŒ',           # 8
          'Blue Moon ๐Ÿ”ต๐ŸŒ™',         # 9
          'Blood Moon ๐Ÿฉธ๐ŸŒ™',        # 10
          'Harvest Moon ๐Ÿ‚๐ŸŒ•',      # 11
          "Hunter's Moon ๐ŸŒ™๐Ÿ”ญ",     # 12
          'Wolf Moon ๐Ÿบ๐ŸŒ•',         # 13
          'Pink Moon ๐ŸŒธ๐ŸŒ•',
          'Snow Moon ๐ŸŒจ๏ธ',          # 14
          'Snow Moon Snow ๐ŸŒจ๏ธโ„๏ธ',    # 15
          'Avian Moon ๐Ÿฆ…',          # 16
          'Avian Moon Snow ๐Ÿฆ…โ„๏ธ',    # 17
          'Skunk Moon ๐Ÿฆจ',           # 18
          'Skunk Moon Snow ๐Ÿฆจโ„๏ธ',    # 19
        ]

        # Define 23 corresponding species with emojis.
        SPECIES = [
          'Dogg ๐Ÿถ', # New Moon
          'Folf ๐ŸฆŠ๐Ÿบ', # Waxing Crescent
          'Aardwolf ๐Ÿพ',                 # First Quarter
          'Spotted Hyena ๐Ÿ†',            # Waxing Gibbous
          'Folf Hybrid ๐ŸฆŠโœจ',             # Full Moon
          'Striped Hyena ๐Ÿฆ“',            # Waning Gibbous
          'Dogg Prime ๐Ÿ•โญ',              # Last Quarter
          'WolfFox ๐Ÿบ๐ŸฆŠ', # Waning Crescent
          'Brown Hyena ๐Ÿฆด',              # Supermoon
          'Dogg Celestial ๐Ÿ•๐ŸŒŸ',          # Blue Moon
          'Folf Eclipse ๐ŸฆŠ๐ŸŒ’',            # Blood Moon
          'Aardwolf Luminous ๐Ÿพโœจ', # Harvest Moon
          'Spotted Hyena Stellar ๐Ÿ†โญ', # Hunter's Moon
          'Folf Nova ๐ŸฆŠ๐Ÿ’ฅ', # Wolf Moon
          'Brown Hyena Cosmic ๐Ÿฆด๐ŸŒŒ', # Pink Moon
          'Snow Leopard ๐ŸŒจ๏ธ', # New Moon
          'Snow Leopard Snow Snep ๐ŸŒจ๏ธโ„๏ธ', # Pink Moon
          'Avian ๐Ÿฆ…', # New Moon
          'Avian Snow ๐Ÿฆ…โ„๏ธ', # Pink Moon
          'Skunk ๐Ÿฆจ', # New Moon
          'Skunk Snow ๐Ÿฆจโ„๏ธ', # New Moon
        ]

        # Define 23 corresponding were-forms with emojis.
        WERE_FORMS = [
          'WereDogg ๐Ÿถ๐ŸŒ‘',                     # New Moon
          'WereFolf ๐ŸฆŠ๐ŸŒ™',                     # Waxing Crescent
          'WereAardwolf ๐Ÿพ',                   # First Quarter
          'WereSpottedHyena ๐Ÿ†',               # Waxing Gibbous
          'WereFolfHybrid ๐ŸฆŠโœจ',                # Full Moon
          'WereStripedHyena ๐Ÿฆ“',               # Waning Gibbous
          'WereDoggPrime ๐Ÿ•โญ',                 # Last Quarter
          'WereWolfFox ๐Ÿบ๐ŸฆŠ', # Waning Crescent
          'WereBrownHyena ๐Ÿฆด',                 # Supermoon
          'WereDoggCelestial ๐Ÿ•๐ŸŒŸ',             # Blue Moon
          'WereFolfEclipse ๐ŸฆŠ๐ŸŒ’',               # Blood Moon
          'WereAardwolfLuminous ๐Ÿพโœจ',          # Harvest Moon
          'WereSpottedHyenaStellar ๐Ÿ†โญ',       # Hunter's Moon
          'WereFolfNova ๐ŸฆŠ๐Ÿ’ฅ', # Wolf Moon
          'WereBrownHyenaCosmic ๐Ÿฆด๐ŸŒŒ', # Pink Moon
          'WereSnowLeopard ๐Ÿ†โ„๏ธ',
          'WereSnowLeopardSnow ๐Ÿ†โ„๏ธโ„๏ธ', # Pink Moon
          'WereAvian ๐Ÿฆ…', # New Moon
          'WereAvianSnow ๐Ÿฆ…โ„๏ธ', # Pink Moon
          'WereSkunk ๐Ÿฆจ', # New Moon
          'WereSkunkSnow ๐Ÿฆจโ„๏ธ' # New Moon

        ]