요셉의꿈

2025년 12월 9일 11:47분

package com.jesusbornd.genesis;

/*
 * Genesis_37_Chapter_Lv1_V3.java
 * Variation: Dream & Betrayal Engine (Two-Track)
 */

import java.util.List;

public class Genesis_37_Chapter_Lv1_V3 {

    // --- 두 개의 트랙 구분 ---
    enum Track { DREAM, BETRAYAL }

    // --- 데이터 모델 ---
    record Item(String ref, String krv, String esv, Track track) {}

    // --- DREAM 트랙 (요셉의 두 꿈) ---
    private static final List<Item> DREAM = List.of(
        new Item(
            "창세기 37:7",
            "우리가 밭에서 곡식 단을 묶더니… 내 단은 서고 형들의 단은 절하더이다",
            "My sheaf rose and stood upright. Your sheaves gathered around and bowed.",
            Track.DREAM
        ),
        new Item(
            "창세기 37:9",
            "해와 달과 열한 별이 내게 절하더이다",
            "The sun, the moon, and eleven stars were bowing down to me.",
            Track.DREAM
        )
    );

    // --- BETRAYAL 트랙 (형들의 미움 → 음모 → 구덩이 → 팔림) ---
    private static final List<Item> BETRAYAL = List.of(
        new Item(
            "창세기 37:4",
            "형들이 요셉을 미워하여… 그에게 말도 편안하게 하지 아니하더라",
            "They hated him and could not speak peacefully to him.",
            Track.BETRAYAL
        ),
        new Item(
            "창세기 37:18",
            "요셉이 오기 전에 그를 죽이려고 꾀하여",
            "They conspired against him to kill him.",
            Track.BETRAYAL
        ),
        new Item(
            "창세기 37:24",
            "그를 붙들어 구덩이에 던졌으나 그 구덩이는 빈 구덩이로 물이 없었더라",
            "They took him and threw him into a pit. The pit was empty; no water.",
            Track.BETRAYAL
        ),
        new Item(
            "창세기 37:28",
            "그들이 요셉을 끌어내어 은 이십에 그들을 이스마엘 사람들에게 팔매",
            "They sold Joseph for twenty shekels of silver.",
            Track.BETRAYAL
        )
    );

    public static void main(String[] args) {
        System.out.println("[Genesis 37 | KRV & ESV]");
        System.out.println("— Dream & Betrayal Engine (Two-Track) —\n");

        printTrack("DREAM TRACK", DREAM);
        printTrack("BETRAYAL TRACK", BETRAYAL);

        showSummary();
        showPractice();
    }

    private static void printTrack(String title, List<Item> items) {
        System.out.println("## " + title);
        for (Item it : items) {
            System.out.println(it.ref());
            System.out.println("KRV: " + it.krv());
            System.out.println("ESV: " + it.esv());
            System.out.println("→ Meaning: " + explain(it.track()));
            System.out.println();
        }
    }

    private static String explain(Track t) {
        return switch (t) {
            case DREAM -> "하나님이 먼저 꿈으로 목적을 보여주신다.";
            case BETRAYAL -> "사람의 악함 속에서도 하나님은 꿈을 꺾지 않으신다.";
        };
    }

    private static void showSummary() {
        System.out.println("[Summary]");
        System.out.println(
            "요셉은 꿈을 통해 하나님의 목적을 보았고(37:7,9), "
          + "형들은 미움과 배신으로 그를 구덩이와 종살이 길로 던졌다(37:18–28). "
          + "그러나 하나님의 이야기는 ‘꿈’ 트랙을 따라 계속 흘러간다."
        );
        System.out.println();
    }

    private static void showPractice() {
        System.out.println("[Practice]");
        System.out.println("사람의 배신보다 하나님의 꿈을 더 크게 바라보는 하루를 선택하자.");
    }
}

#### Genesis_37_Chapter_Lv1_V3.py
#### Variation: Two-Track Narrative (Dream & Betrayal)

from dataclasses import dataclass

@dataclass
class Item:
    ref: str
    krv: str
    esv: str
    track: str  # DREAM / BETRAYAL

DREAM = [
    Item("창세기 37:7",
         "곡식 단들이 절하더이다",
         "Your sheaves bowed down to mine.",
         "DREAM"),
    Item("창세기 37:9",
         "해와 달과 열한 별이 절하더이다",
         "The sun, moon, and eleven stars bowed.",
         "DREAM"),
]

BETRAYAL = [
    Item("창세기 37:4",
         "그에게 말도 편안하게 못하더라",
         "They could not speak peacefully to him.",
         "BETRAYAL"),
    Item("창세기 37:18",
         "그를 죽이려고 꾀하여",
         "They conspired to kill him.",
         "BETRAYAL"),
    Item("창세기 37:24",
         "그를 빈 구덩이에 던졌다",
         "They threw him into a pit.",
         "BETRAYAL"),
    Item("창세기 37:28",
         "은 이십에 팔렸다",
         "Sold for twenty shekels.",
         "BETRAYAL"),
]

def explain(track: str) -> str:
    return {
        "DREAM": "하나님은 먼저 ‘목적’을 보여주신다.",
        "BETRAYAL": "사람의 악함도 하나님의 꿈을 막지 못한다.",
    }.get(track, "")

def show_track(title, items):
    print(f"## {title}")
    for it in items:
        print(it.ref)
        print("KRV:", it.krv)
        print("ESV:", it.esv)
        print("→ Meaning:", explain(it.track))
        print()

def main():
    print("[Genesis 37 | KRV & ESV]")
    print("— Dream & Betrayal Engine (Python) —\n")

    show_track("DREAM TRACK", DREAM)
    show_track("BETRAYAL TRACK", BETRAYAL)

    print("[Summary]")
    print("하나님은 꿈으로 목적을 보여주시고(37:7,9), "
          "사람은 미움과 배신으로 요셉을 밀어내지만(37:18–28), "
          "하나님은 그 길을 ‘섭리의 통로’로 바꾸신다.\n")

    print("[Practice]")
    print("오늘도 배신·억울함보다 ‘하나님이 주신 꿈’을 더 깊이 바라보자.")

if __name__ == "__main__":
    main()

Comments

Avatar
 2025년 12월 9일 11:48분

꿈과 배신이 평행선처럼 보이지만, 결국 둘 다 하나님 손에서 한 방향으로 모이네요. 37장은 섭리의 시작점이라는 걸 다시 느낍니다



Search

← 목록으로