{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/14401","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/14401/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/14401/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/14401/events","html_url":"https://github.com/JuliaLang/julia/pull/14401","id":122022452,"number":14401,"title":"passing arguments to flisp","user":{"login":"KDr2","id":78738,"avatar_url":"https://avatars.githubusercontent.com/u/78738?v=3","gravatar_id":"","url":"https://api.github.com/users/KDr2","html_url":"https://github.com/KDr2","followers_url":"https://api.github.com/users/KDr2/followers","following_url":"https://api.github.com/users/KDr2/following{/other_user}","gists_url":"https://api.github.com/users/KDr2/gists{/gist_id}","starred_url":"https://api.github.com/users/KDr2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KDr2/subscriptions","organizations_url":"https://api.github.com/users/KDr2/orgs","repos_url":"https://api.github.com/users/KDr2/repos","events_url":"https://api.github.com/users/KDr2/events{/privacy}","received_events_url":"https://api.github.com/users/KDr2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-14T11:14:18Z","updated_at":"2016-01-10T14:26:10Z","closed_at":"2016-01-10T14:26:10Z","pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/14401","html_url":"https://github.com/JuliaLang/julia/pull/14401","diff_url":"https://github.com/JuliaLang/julia/pull/14401.diff","patch_url":"https://github.com/JuliaLang/julia/pull/14401.patch"},"body":"I found there's a '--lisp' option for julia to hack with the frontend written in scheme, but it couldn't pass any command line arguments to flisp.\r\nWith the purpose of bringing a little convenience to learn or hack the julia frontend, I did few trivial commits.\r\n\r\n```\r\n$ cat t.lsp\r\n(print *argv*)\r\n(newline)\r\n$ ./julia --lisp -- t.lsp arg1 arg2 arg3\r\n(\"t.lsp\" \"arg1\" \"arg2\" \"arg3\")\r\n```\r\n\r\nThere's also a \"-e/--eval\" option for flisp:\r\n\r\n```\r\n$ ./julia --lisp -- -e \"(princ operators)(newline)\"\r\n(~ ! ¬ -> √ ∛ ∜ ' .' ... = := += -= *= /= //= .//= .*= ./= \\= .\\= ^= .^= ÷= .÷=\r\n %= .%= |= &= $= => <<= >>= >>>= ~ .+= .-= ? || && -- --> ← → ↔ ↚ ↛ ↠ ↣ ↦ ↮ ⇎\r\n ⇏ ⇒ ⇔ ⇴ ⇶ ⇷ ⇸ ⇹ ⇺ ⇻ ⇼ ⇽ ⇾ ⇿ ⟵ ⟶ ⟷ ⟹ ⟺ ⟻ ⟼ ⟽ ⟾ ⟿ ⤀ ⤁ ⤂ ⤃ ⤄\r\n ⤅ ⤆ ⤇ ⤌ ⤍ ⤎ ⤏ ⤐ ⤑ ⤔ ⤕ ⤖ ⤗ ⤘ ⤝ ⤞ ⤟ ⤠ ⥄ ⥅ ⥆ ⥇ ⥈ ⥊ ⥋ ⥎\r\n ⥐ ⥒ ⥓ ⥖ ⥗ ⥚ ⥛ ⥞ ⥟ ⥢ ⥤ ⥦ ⥧ ⥨ ⥩ ⥪ ⥫ ⥬ ⥭ ⥰ ⧴ ⬱ ⬰ ⬲ ⬳ ⬴\r\n ⬵ ⬶ ⬷ ⬸ ⬹ ⬺ ⬻ ⬼ ⬽ ⬾ ⬿ ⭀ ⭁ ⭂ ⭃ ⭄ ⭇ ⭈ ⭉ ⭊ ⭋ ⭌ ￩ ￫ > < >=\r\n ≥ <= ≤ == === ≡ != ≠ !== ≢ .> .< .>= .≥ .<= .≤ .== .!= .≠ .= .! <: >: ∈ ∉ ∋ ∌\r\n ⊆ ⊈ ⊂ ⊄ ⊊ ∝ ∊ ∍ ∥ ∦ ∷ ∺ ∻ ∽ ∾ ≁ ≃ ≄ ≅ ≆ ≇ ≈ ≉ ≊ ≋ ≌ ≍ ≎ ≐ ≑ ≒ ≓ ≔ ≕ ≖ ≗ ≘ ≙ ≚\r\n ≛ ≜ ≝ ≞ ≟ ≣ ≦ ≧ ≨ ≩ ≪ ≫ ≬ ≭ ≮ ≯ ≰ ≱ ≲ ≳ ≴ ≵ ≶ ≷ ≸ ≹ ≺ ≻ ≼ ≽ ≾ ≿ ⊀ ⊁ ⊃ ⊅ ⊇ ⊉ ⊋\r\n ⊏ ⊐ ⊑ ⊒ ⊜ ⊩ ⊬ ⊮ ⊰ ⊱ ⊲ ⊳ ⊴ ⊵ ⊶ ⊷ ⋍ ⋐ ⋑ ⋕ ⋖ ⋗ ⋘ ⋙ ⋚ ⋛ ⋜ ⋝ ⋞ ⋟ ⋠ ⋡ ⋢ ⋣ ⋤ ⋥ ⋦ ⋧ ⋨\r\n ⋩ ⋪ ⋫ ⋬ ⋭ ⋲ ⋳ ⋴ ⋵ ⋶ ⋷ ⋸ ⋹ ⋺ ⋻ ⋼ ⋽ ⋾ ⋿ ⟈ ⟉ ⟒ ⦷ ⧀ ⧁ ⧡ ⧣ ⧤ ⧥\r\n ⩦ ⩧ ⩪ ⩫ ⩬ ⩭ ⩮ ⩯ ⩰ ⩱ ⩲ ⩳ ⩴ ⩵ ⩶ ⩷ ⩸ ⩹ ⩺ ⩻ ⩼ ⩽ ⩾ ⩿ ⪀ ⪁ ⪂ ⪃ ⪄ ⪅\r\n ⪆ ⪇ ⪈ ⪉ ⪊ ⪋ ⪌ ⪍ ⪎ ⪏ ⪐ ⪑ ⪒ ⪓ ⪔ ⪕ ⪖ ⪗ ⪘ ⪙ ⪚ ⪛ ⪜ ⪝ ⪞ ⪟ ⪠ ⪡ ⪢\r\n ⪣ ⪤ ⪥ ⪦ ⪧ ⪨ ⪩ ⪪ ⪫ ⪬ ⪭ ⪮ ⪯ ⪰ ⪱ ⪲ ⪳ ⪴ ⪵ ⪶ ⪷ ⪸ ⪹ ⪺ ⪻ ⪼\r\n ⪽ ⪾ ⪿ ⫀ ⫁ ⫂ ⫃ ⫄ ⫅ ⫆ ⫇ ⫈ ⫉ ⫊ ⫋ ⫌ ⫍ ⫎ ⫏ ⫐ ⫑ ⫒ ⫓ ⫔ ⫕ ⫖ ⫗ ⫘ ⫙ ⫷ ⫸\r\n ⫹ ⫺ ⊢ ⊣ |> <| : .. + - ⊕ ⊖ ⊞ ⊟ .+ .- ++ | ∪ ∨ $ ⊔ ± ∓ ∔ ∸ ≂ ≏ ⊎ ⊻ ⊽ ⋎ ⋓ ⧺ ⧻\r\n ⨈ ⨢ ⨣ ⨤ ⨥ ⨦ ⨧ ⨨ ⨩ ⨪ ⨫ ⨬ ⨭ ⨮ ⨹ ⨺ ⩁ ⩂ ⩅ ⩊ ⩌ ⩏ ⩐ ⩒ ⩔ ⩖ ⩗ ⩛ ⩝ ⩡\r\n ⩢ ⩣ << >> >>> .<< .>> .>>> * / ./ ÷ .÷ % ⋅ ∘ × .% .* \\ .\\ & ∩ ∧ ⊗ ⊘ ⊙ ⊚ ⊛ ⊠\r\n ⊡ ⊓ ∗ ∙ ∤ ⅋ ≀ ⊼ ⋄ ⋆ ⋇ ⋉ ⋊ ⋋ ⋌ ⋏ ⋒ ⟑ ⦸ ⦼ ⦾ ⦿ ⧶ ⧷ ⨇ ⨰ ⨱ ⨲ ⨳ ⨴ ⨵ ⨶ ⨷ ⨸\r\n ⨻ ⨼ ⨽ ⩀ ⩃ ⩄ ⩋ ⩍ ⩎ ⩑ ⩓ ⩕ ⩘ ⩚ ⩜ ⩞ ⩟ ⩠ ⫛ ⊍ ▷ ⨝ ⟕ ⟖ ⟗ // .//\r\n ^ .^ ↑ ↓ ⇵ ⟰ ⟱ ⤈ ⤉ ⤊ ⤋ ⤒ ⤓ ⥉ ⥌ ⥍ ⥏ ⥑ ⥔ ⥕ ⥘ ⥙ ⥜ ⥝ ⥠ ⥡ ⥣ ⥥ ⥮ ⥯ ￪ ￬ :: .)\r\n```"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/170352956","html_url":"https://github.com/JuliaLang/julia/pull/14401#issuecomment-170352956","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/14401","id":170352956,"user":{"login":"KDr2","id":78738,"avatar_url":"https://avatars.githubusercontent.com/u/78738?v=3","gravatar_id":"","url":"https://api.github.com/users/KDr2","html_url":"https://github.com/KDr2","followers_url":"https://api.github.com/users/KDr2/followers","following_url":"https://api.github.com/users/KDr2/following{/other_user}","gists_url":"https://api.github.com/users/KDr2/gists{/gist_id}","starred_url":"https://api.github.com/users/KDr2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KDr2/subscriptions","organizations_url":"https://api.github.com/users/KDr2/orgs","repos_url":"https://api.github.com/users/KDr2/repos","events_url":"https://api.github.com/users/KDr2/events{/privacy}","received_events_url":"https://api.github.com/users/KDr2/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T14:26:10Z","updated_at":"2016-01-10T14:26:10Z","body":"OK, I'll close this pr :)"}}