{"id":16696948,"url":"https://github.com/seratch/sadamasashi-compiler","last_synced_at":"2025-08-21T14:09:09.681Z","repository":{"id":57722691,"uuid":"48101146","full_name":"seratch/sadamasashi-compiler","owner":"seratch","description":"さだまさしコンパイラ","archived":false,"fork":false,"pushed_at":"2016-11-05T06:56:38.000Z","size":15,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T02:58:06.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://qiita.com/seratch@github/items/3be26b584f3d74aa1150","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seratch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-16T09:39:18.000Z","updated_at":"2023-02-23T21:10:40.000Z","dependencies_parsed_at":"2022-08-28T10:11:03.388Z","dependency_job_id":null,"html_url":"https://github.com/seratch/sadamasashi-compiler","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/seratch/sadamasashi-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fsadamasashi-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fsadamasashi-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fsadamasashi-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fsadamasashi-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seratch","download_url":"https://codeload.github.com/seratch/sadamasashi-compiler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fsadamasashi-compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271493232,"owners_count":24769117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T17:45:23.666Z","updated_at":"2025-08-21T14:09:09.658Z","avatar_url":"https://github.com/seratch.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sadamasashi-compiler - さだまさしコンパイラ\n\nhttps://en.wikipedia.org/wiki/Masashi_Sada\n\nMasashi Sada (さだ まさし Sada Masashi, born April 10, 1952) is a Japanese singer, lyricist, composer, novelist, actor, and a film producer.\n\nSada formed the folk duo Grape with Masami Yoshida in 1972, and they made their debut as recording artists a year afterward. The pair rose to fame owing to the hit song \"Shourou Nagashi\" (精霊流し) composed by Sada, which peaked at the number-two position on the Japanese Oricon chart in 1974. They broke up in 1976, after producing some hit singles including \"En-kiri Dera\" (縁切寺) and \"Muen Zaka\" (無縁坂).\n\nSada released his first solo album entitled Kikyorai shortly after Grape's dissolution. Following the commercial success of the number-one hit single \"Amayadori\" (雨やどり, Shelter from the rain) in 1977, he enjoyed a recording career as one of the most popular Japanese male artists during the late 1970s and the first half of the 1980s.\n\nThroughout his career as a musician, Sada released over 35 solo albums and 70 singles, and multiple live albums or compilations. Since the release of Shourou Nagashi, published in 2001, Sada has also worked as a novelist.\n\n## Motivation\n\nI just created a Scala macro library to share lots of people the joy of Scala programming.\n\n[さだまさし x IT Advent Calendar 2015](http://qiita.com/advent-calendar/2015/sadatech) 20 日目の記事のためにつくったライブラリです。詳細は記事参照。\n\n## Install\n\n```scala\nscalaVersion := \"2.12.0\"\nlibraryDependencies += \"com.github.seratch\" %% \"sadamasashi-compiler\" % \"0.2\"\ninitialCommands := \"import sadamasashi._\"\n```\n\n## Examples on the REPL\n\nIf the given song title is correct, sadamasashi-compiler successfully returns `Song` object. \n\n```\nscala\u003e さだまさし.関白宣言\nres0: sadamasashi.Song = Song(関白宣言)\n```\n\n`show` or `を観る` method invokes your machine's default browser to show an appropriate YouTube video. The following code will show you [this YouTube video](https://www.youtube.com/watch?v=RF5kyFirzpE).\n\n```\nscala\u003e さだまさし.関白宣言.を観る\n```\n\nWhen the song title is incorrect, sadamasashi-compiler gives you a compilation error and shows you some suggestions instead.\n\n```\nscala\u003e さだまさし.ライオン\n\u003cconsole\u003e:14: error: これはさだまさしさんの曲名ではないようです。もしかして: 風に立つライオン (0.44), 愛の音 (0.40), 絵画館 (0.40), 指定券 (0.40), 地平線 (0.40)\n       さだまさし.ライオン\n       ^\n```\n\nWhen there is no appropriate candidates for the input, sadamasashi-compiler automatically invokes your default browser and shows you [Google search result page](https://www.google.co.jp/search?q=%E3%81%95%E3%81%A0%E3%81%BE%E3%81%95%E3%81%97+%E5%A4%A9%E7%9A%87%E3%81%AE%E6%96%99%E7%90%86%E7%95%AA) as well.\n\n```\nscala\u003e さだまさし.天皇の料理番\n\u003cconsole\u003e:14: error: これはさだまさしさんの曲名ではないようです。もしかして: いのちの理由 (0.36), どんぐり通信 (0.36), 転校生(ちょっとピンボケ) (0.36), 検察側の証人 (0.33), 天空の村に月が降る (0.31)\n       さだまさし.天皇の料理番\n       ^\n```\n\nIf you'd love to learn more about Masashi Sada, you can infinitely watch Sada-san's video.\n\n```\nscala\u003e さだまさし.もっと知りたい\n\u003cconsole\u003e:14: error:\n \"さだまさし 秘密\" で YouTube 動画を検索しました。\n 「秘密 さだまさし　COVER   演奏法」(https://www.youtube.com/watch?v=DHSKEQwswoQ) がオススメです。\n しっかりと理解を深めましょう。\n\n       さだまさし.もっと知りたい\n             ^\n```\n\nEnjoy Masashi Sada's world :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fsadamasashi-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseratch%2Fsadamasashi-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fsadamasashi-compiler/lists"}