언약계승

2025년 11월 20일 12:27분

package com.jesusbornd.genesis;

/*
 * Genesis_24_Chapter_Lv1_V2.java
 * Variation:
 * 1) record Segment(ref, krv, esv, scene) 로 “내러티브 슬라이스”
 * 2) switch(scene) 로 묵상 흐름 통일
 * 3) highlight: 기도(pray), 리브가(Rebekah), 인도(lead)
 */

import java.util.List;

public class Genesis_24_Chapter_Lv1_V2 {

    // ---- Domain ----
    public record Segment(String scene, String ref, String krv, String esv) {}

    // ---- highlight ----
    private static String hi(String s) {
        return s.replace("기도", "[기도]")
                .replace("pray", "[pray]")
                .replace("리브가", "[리브가]")
                .replace("Rebekah", "[Rebekah]")
                .replace("인도", "[인도]")
                .replace("lead", "[lead]");
    }

    // ---- 4 slices(핵심 4절) ----
    private static final List<Segment> SEG = List.of(
        new Segment(
            "파송 (Sending)",
            "창세기 24:3–4 / Genesis 24:3–4",
            "너는 이 땅 가나안 사람의 딸 중에서 내 아들을 위하여 아내를 택하지 말고… 네 고향으로 가서 데려오라",
            "You shall not take a wife for my son from the daughters of the Canaanites… go to my country and take a wife."
        ),
        new Segment(
            "기도와 응답 (Prayer & Sign)",
            "창세기 24:12–14 / Genesis 24:12–14",
            "여호와여… 오늘 나를 순적히 만나게 하옵소서… 내가 말하기를 ‘청하건대 물을 그리우라’ 하면…",
            "O LORD… please grant me success today… Let the girl to whom I say, ‘Please let down your jar…’"
        ),
        new Segment(
            "리브가의 인격 (Rebekah’s Heart)",
            "창세기 24:18–19 / Genesis 24:18–19",
            "그가 이르되 ‘마시소서’ 하고… ‘당신의 약대들도 위하여 길으리이다’ 하고…",
            "She said, ‘Drink’… and said, ‘I will draw water for your camels also.’"
        ),
        new Segment(
            "언약 계승 확정 (Covenant Secured)",
            "창세기 24:58–60 / Genesis 24:58–60",
            "리브가가 이르되 ‘내가 가겠나이다’… 그들이 축복하여 이르되 ‘우리 누이여… 천만인의 어미가 될지어다’",
            "Rebekah said, ‘I will go.’… And they blessed her, ‘Our sister… become thousands of ten thousands.’"
        )
    );

    private static final String SUMMARY_KO =
        "아브라함은 언약 계승자인 이삭의 아내를 위하여 종을 보내고(24:3–4), 종은 기도로 인도하심을 구한다(24:12–14). "
      + "리브가는 겸손과 헌신으로 응답하며(24:18–19), 그녀의 순종으로 언약의 흐름이 이어진다(24:58–60).";

    private static final String SUMMARY_EN =
        "Abraham sends his servant for Isaac’s covenant wife (24:3–4). "
      + "The servant seeks God’s guidance in prayer (24:12–14). "
      + "Rebekah displays humility and generosity (24:18–19). "
      + "Her obedience secures the covenant line (24:58–60).";

    private static final String PRACTICE_KO =
        "오늘 ‘기도로 인도받기’ 1가지, 리브가처럼 작은 섬김 1행동, 언약 계승(다음세대)을 위한 기도 1분.";
    private static final String PRACTICE_EN =
        "Seek God’s leading in one decision, serve someone like Rebekah, and pray one minute for covenant generations.";

    public static void main(String[] args) {
        final String nl = System.lineSeparator();
        StringBuilder sb = new StringBuilder(2048);

        // Title
        sb.append("[창세기 24장 | KRV & ESV]").append(nl);
        sb.append("[Genesis 24 | KRV & ESV]").append(nl);
        sb.append("Lv1: Sending — Prayer — Rebekah — Covenant Secured").append(nl).append(nl);

        // Segments
        for (Segment s : SEG) {
            sb.append("■ ").append(s.scene()).append(nl);
            sb.append(s.ref()).append(nl);
            sb.append("KRV: ").append(hi(s.krv())).append(nl);
            sb.append("ESV: ").append(hi(s.esv())).append(nl).append(nl);
        }

        // Summary
        sb.append("[요약 / Summary]").append(nl);
        sb.append("KO: ").append(SUMMARY_KO).append(nl);
        sb.append("EN: ").append(SUMMARY_EN).append(nl).append(nl);

        // Practice
        sb.append("[적용 / Practice]").append(nl);
        sb.append("KO: ").append(PRACTICE_KO).append(nl);
        sb.append("EN: ").append(PRACTICE_EN);

        System.out.print(sb);
    }
}

#### Genesis_24_Chapter_Lv1_V2.py
#### Variation: scene slices + generator pipeline + highlight

from dataclasses import dataclass
from typing import Iterable, List

def hi(s: str) -> str:
    return (s.replace("기도", "[기도]")
             .replace("pray", "[pray]")
             .replace("리브가", "[리브가]")
             .replace("Rebekah", "[Rebekah]")
             .replace("인도", "[인도]")
             .replace("lead", "[lead]"))

@dataclass(frozen=True)
class Segment:
    scene: str
    ref: str
    krv: str
    esv: str

SEG: List[Segment] = [
    Segment("파송 (Sending)",
            "창세기 24:3–4 / Genesis 24:3–4",
            "가나안에서 아내를 택하지 말고… 친족에게서 데려오라",
            "Do not take a wife from Canaanites… go to my country and take a wife."),
    Segment("기도·표적 (Prayer & Sign)",
            "창세기 24:12–14 / Genesis 24:12–14",
            "여호와여 오늘 나를 순적케 하옵소서…",
            "O LORD, grant me success today…"),
    Segment("리브가의 성품 (Rebekah’s Heart)",
            "창세기 24:18–19 / Genesis 24:18–19",
            "마시소서… 약대도 위하여 길으리이다",
            "Drink… I will draw water for your camels also."),
    Segment("언약 계승 확정 (Covenant Secured)",
            "창세기 24:58–60 / Genesis 24:58–60",
            "리브가: ‘내가 가겠나이다’… 천만인의 어미가 될지어다",
            "Rebekah: ‘I will go’… become thousands of ten thousands.")
]

SUMMARY_KO = (
    "종이 기도로 [인도]를 구하고(24:12–14), 리브가는 순종과 섬김으로 응답하며(24:18–19), "
    "그 선택으로 언약의 계보가 이어진다(24:58–60)."
)
SUMMARY_EN = (
    "The servant seeks God’s [lead]ing in prayer (24:12–14), "
    "[Rebekah] responds with humility and service (24:18–19), "
    "and the covenant line is secured through her obedience (24:58–60)."
)

PRACTICE_KO = "기도로 인도받기 1가지 · 작은 섬김 1행동 · 다음세대를 위한 언약기도 1분."
PRACTICE_EN = "Seek God’s leading, serve like Rebekah, pray for covenant generations."

def sec_title() -> Iterable[str]:
    yield "[창세기 24장 | KRV & ESV]"
    yield "[Genesis 24 | KRV & ESV]"
    yield "Lv1: Sending — Prayer — Rebekah — Covenant Secured"
    yield ""

def sec_segments() -> Iterable[str]:
    for s in SEG:
        yield f"■ {s.scene}"
        yield s.ref
        yield "KRV: " + hi(s.krv)
        yield "ESV: " + hi(s.esv)
        yield ""

def sec_summary() -> Iterable[str]:
    yield "[요약 / Summary]"
    yield "KO: " + SUMMARY_KO
    yield "EN: " + SUMMARY_EN
    yield ""

def sec_practice() -> Iterable[str]:
    yield "[적용 / Practice]"
    yield "KO: " + PRACTICE_KO
    yield "EN: " + PRACTICE_EN

def main():
    for sec in (sec_title, sec_segments, sec_summary, sec_practice):
        for line in sec():
            print(line)

if __name__ == "__main__":
    main()

Comments

Avatar
 2025년 11월 20일 12:29분

“하나님의 인도는 기도에서 열리고, 리브가의 섬김 같은 작은 순종을 통해 언약이 계속됨을 보게 됩니다.”



Search

← 목록으로