{"action":"created","comment":{"url":"https://api.github.com/repos/rexim/Morganey/pulls/comments/69388398","id":69388398,"diff_hunk":"@@ -0,0 +1,161 @@\n+package me.rexim.morganey.meta\n+\n+import me.rexim.morganey.ast._\n+\n+import scala.collection.mutable.ArrayBuffer\n+import scala.reflect.macros.whitebox.Context\n+\n+private[meta] class QuotationMacro(val c: Context) {","path":"macros/src/main/scala/me/rexim/morganey/meta/QuotationMacro.scala","position":8,"original_position":8,"commit_id":"b72aee209e3fa7ac2c5ac37fba1e199e6cef7667","original_commit_id":"b72aee209e3fa7ac2c5ac37fba1e199e6cef7667","user":{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false},"body":"Yeah, I'm gonna create a separate issue and we will discuss this later when the time is right.","created_at":"2016-07-03T09:21:33Z","updated_at":"2016-07-03T09:21:33Z","html_url":"https://github.com/rexim/Morganey/pull/61#discussion_r69388398","pull_request_url":"https://api.github.com/repos/rexim/Morganey/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/rexim/Morganey/pulls/comments/69388398"},"html":{"href":"https://github.com/rexim/Morganey/pull/61#discussion_r69388398"},"pull_request":{"href":"https://api.github.com/repos/rexim/Morganey/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/rexim/Morganey/pulls/61","id":76040055,"html_url":"https://github.com/rexim/Morganey/pull/61","diff_url":"https://github.com/rexim/Morganey/pull/61.diff","patch_url":"https://github.com/rexim/Morganey/pull/61.patch","issue_url":"https://api.github.com/repos/rexim/Morganey/issues/61","number":61,"state":"open","locked":false,"title":"Implemented quasiquotations","user":{"login":"keddelzz","id":3746739,"avatar_url":"https://avatars.githubusercontent.com/u/3746739?v=3","gravatar_id":"","url":"https://api.github.com/users/keddelzz","html_url":"https://github.com/keddelzz","followers_url":"https://api.github.com/users/keddelzz/followers","following_url":"https://api.github.com/users/keddelzz/following{/other_user}","gists_url":"https://api.github.com/users/keddelzz/gists{/gist_id}","starred_url":"https://api.github.com/users/keddelzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keddelzz/subscriptions","organizations_url":"https://api.github.com/users/keddelzz/orgs","repos_url":"https://api.github.com/users/keddelzz/repos","events_url":"https://api.github.com/users/keddelzz/events{/privacy}","received_events_url":"https://api.github.com/users/keddelzz/received_events","type":"User","site_admin":false},"body":"## The birth of morganey.meta._\r\n\r\nImplemented quasiquotations. Now it's possible to create and interpolate lambda terms with a string-interpolator. Lifting of Scala-values to lambda terms is also possible.\r\n```scala\r\nval two  = 2\r\nval three = m\"3\"\r\n\r\nval eight = m\"( $two $three )\"\r\n```\r\n\r\nUnquoting of lambda terms allows detection of complex patterns. And unlifting even allows the automatic conversion of lambda terms back to Scala:\r\n\r\n```scala\r\nval term: LambdaTerm = ...\r\n\r\nterm match {\r\n  case m\"( ${a: Int} ${b: Int} )\" => m\"${math.pow(a, b).toInt}\"\r\n  case _ => ???\r\n}\r\n```\r\n\r\nThis feature was implemented in scope of #25","created_at":"2016-07-01T21:42:28Z","updated_at":"2016-07-03T09:21:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4008f70467ad8a47f411937d139feb0c62bd4ded","assignee":{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false},"assignees":[{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/rexim/Morganey/pulls/61/commits","review_comments_url":"https://api.github.com/repos/rexim/Morganey/pulls/61/comments","review_comment_url":"https://api.github.com/repos/rexim/Morganey/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rexim/Morganey/issues/61/comments","statuses_url":"https://api.github.com/repos/rexim/Morganey/statuses/b72aee209e3fa7ac2c5ac37fba1e199e6cef7667","head":{"label":"keddelzz:feature/quasiquotation","ref":"feature/quasiquotation","sha":"b72aee209e3fa7ac2c5ac37fba1e199e6cef7667","user":{"login":"keddelzz","id":3746739,"avatar_url":"https://avatars.githubusercontent.com/u/3746739?v=3","gravatar_id":"","url":"https://api.github.com/users/keddelzz","html_url":"https://github.com/keddelzz","followers_url":"https://api.github.com/users/keddelzz/followers","following_url":"https://api.github.com/users/keddelzz/following{/other_user}","gists_url":"https://api.github.com/users/keddelzz/gists{/gist_id}","starred_url":"https://api.github.com/users/keddelzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keddelzz/subscriptions","organizations_url":"https://api.github.com/users/keddelzz/orgs","repos_url":"https://api.github.com/users/keddelzz/repos","events_url":"https://api.github.com/users/keddelzz/events{/privacy}","received_events_url":"https://api.github.com/users/keddelzz/received_events","type":"User","site_admin":false},"repo":{"id":62004097,"name":"Morganey","full_name":"keddelzz/Morganey","owner":{"login":"keddelzz","id":3746739,"avatar_url":"https://avatars.githubusercontent.com/u/3746739?v=3","gravatar_id":"","url":"https://api.github.com/users/keddelzz","html_url":"https://github.com/keddelzz","followers_url":"https://api.github.com/users/keddelzz/followers","following_url":"https://api.github.com/users/keddelzz/following{/other_user}","gists_url":"https://api.github.com/users/keddelzz/gists{/gist_id}","starred_url":"https://api.github.com/users/keddelzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keddelzz/subscriptions","organizations_url":"https://api.github.com/users/keddelzz/orgs","repos_url":"https://api.github.com/users/keddelzz/repos","events_url":"https://api.github.com/users/keddelzz/events{/privacy}","received_events_url":"https://api.github.com/users/keddelzz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keddelzz/Morganey","description":"Lambda calculus interpreter","fork":true,"url":"https://api.github.com/repos/keddelzz/Morganey","forks_url":"https://api.github.com/repos/keddelzz/Morganey/forks","keys_url":"https://api.github.com/repos/keddelzz/Morganey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keddelzz/Morganey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keddelzz/Morganey/teams","hooks_url":"https://api.github.com/repos/keddelzz/Morganey/hooks","issue_events_url":"https://api.github.com/repos/keddelzz/Morganey/issues/events{/number}","events_url":"https://api.github.com/repos/keddelzz/Morganey/events","assignees_url":"https://api.github.com/repos/keddelzz/Morganey/assignees{/user}","branches_url":"https://api.github.com/repos/keddelzz/Morganey/branches{/branch}","tags_url":"https://api.github.com/repos/keddelzz/Morganey/tags","blobs_url":"https://api.github.com/repos/keddelzz/Morganey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keddelzz/Morganey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keddelzz/Morganey/git/refs{/sha}","trees_url":"https://api.github.com/repos/keddelzz/Morganey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keddelzz/Morganey/statuses/{sha}","languages_url":"https://api.github.com/repos/keddelzz/Morganey/languages","stargazers_url":"https://api.github.com/repos/keddelzz/Morganey/stargazers","contributors_url":"https://api.github.com/repos/keddelzz/Morganey/contributors","subscribers_url":"https://api.github.com/repos/keddelzz/Morganey/subscribers","subscription_url":"https://api.github.com/repos/keddelzz/Morganey/subscription","commits_url":"https://api.github.com/repos/keddelzz/Morganey/commits{/sha}","git_commits_url":"https://api.github.com/repos/keddelzz/Morganey/git/commits{/sha}","comments_url":"https://api.github.com/repos/keddelzz/Morganey/comments{/number}","issue_comment_url":"https://api.github.com/repos/keddelzz/Morganey/issues/comments{/number}","contents_url":"https://api.github.com/repos/keddelzz/Morganey/contents/{+path}","compare_url":"https://api.github.com/repos/keddelzz/Morganey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keddelzz/Morganey/merges","archive_url":"https://api.github.com/repos/keddelzz/Morganey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keddelzz/Morganey/downloads","issues_url":"https://api.github.com/repos/keddelzz/Morganey/issues{/number}","pulls_url":"https://api.github.com/repos/keddelzz/Morganey/pulls{/number}","milestones_url":"https://api.github.com/repos/keddelzz/Morganey/milestones{/number}","notifications_url":"https://api.github.com/repos/keddelzz/Morganey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keddelzz/Morganey/labels{/name}","releases_url":"https://api.github.com/repos/keddelzz/Morganey/releases{/id}","deployments_url":"https://api.github.com/repos/keddelzz/Morganey/deployments","created_at":"2016-06-26T19:08:17Z","updated_at":"2016-07-02T19:47:10Z","pushed_at":"2016-07-01T21:30:04Z","git_url":"git://github.com/keddelzz/Morganey.git","ssh_url":"git@github.com:keddelzz/Morganey.git","clone_url":"https://github.com/keddelzz/Morganey.git","svn_url":"https://github.com/keddelzz/Morganey","homepage":null,"size":128,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"rexim:master","ref":"master","sha":"6bf0df32160d934c586537ca2c9237de3f28f136","user":{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false},"repo":{"id":47073664,"name":"Morganey","full_name":"rexim/Morganey","owner":{"login":"rexim","id":165283,"avatar_url":"https://avatars.githubusercontent.com/u/165283?v=3","gravatar_id":"","url":"https://api.github.com/users/rexim","html_url":"https://github.com/rexim","followers_url":"https://api.github.com/users/rexim/followers","following_url":"https://api.github.com/users/rexim/following{/other_user}","gists_url":"https://api.github.com/users/rexim/gists{/gist_id}","starred_url":"https://api.github.com/users/rexim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rexim/subscriptions","organizations_url":"https://api.github.com/users/rexim/orgs","repos_url":"https://api.github.com/users/rexim/repos","events_url":"https://api.github.com/users/rexim/events{/privacy}","received_events_url":"https://api.github.com/users/rexim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rexim/Morganey","description":"Lambda calculus interpreter","fork":false,"url":"https://api.github.com/repos/rexim/Morganey","forks_url":"https://api.github.com/repos/rexim/Morganey/forks","keys_url":"https://api.github.com/repos/rexim/Morganey/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rexim/Morganey/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rexim/Morganey/teams","hooks_url":"https://api.github.com/repos/rexim/Morganey/hooks","issue_events_url":"https://api.github.com/repos/rexim/Morganey/issues/events{/number}","events_url":"https://api.github.com/repos/rexim/Morganey/events","assignees_url":"https://api.github.com/repos/rexim/Morganey/assignees{/user}","branches_url":"https://api.github.com/repos/rexim/Morganey/branches{/branch}","tags_url":"https://api.github.com/repos/rexim/Morganey/tags","blobs_url":"https://api.github.com/repos/rexim/Morganey/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rexim/Morganey/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rexim/Morganey/git/refs{/sha}","trees_url":"https://api.github.com/repos/rexim/Morganey/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rexim/Morganey/statuses/{sha}","languages_url":"https://api.github.com/repos/rexim/Morganey/languages","stargazers_url":"https://api.github.com/repos/rexim/Morganey/stargazers","contributors_url":"https://api.github.com/repos/rexim/Morganey/contributors","subscribers_url":"https://api.github.com/repos/rexim/Morganey/subscribers","subscription_url":"https://api.github.com/repos/rexim/Morganey/subscription","commits_url":"https://api.github.com/repos/rexim/Morganey/commits{/sha}","git_commits_url":"https://api.github.com/repos/rexim/Morganey/git/commits{/sha}","comments_url":"https://api.github.com/repos/rexim/Morganey/comments{/number}","issue_comment_url":"https://api.github.com/repos/rexim/Morganey/issues/comments{/number}","contents_url":"https://api.github.com/repos/rexim/Morganey/contents/{+path}","compare_url":"https://api.github.com/repos/rexim/Morganey/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rexim/Morganey/merges","archive_url":"https://api.github.com/repos/rexim/Morganey/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rexim/Morganey/downloads","issues_url":"https://api.github.com/repos/rexim/Morganey/issues{/number}","pulls_url":"https://api.github.com/repos/rexim/Morganey/pulls{/number}","milestones_url":"https://api.github.com/repos/rexim/Morganey/milestones{/number}","notifications_url":"https://api.github.com/repos/rexim/Morganey/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rexim/Morganey/labels{/name}","releases_url":"https://api.github.com/repos/rexim/Morganey/releases{/id}","deployments_url":"https://api.github.com/repos/rexim/Morganey/deployments","created_at":"2015-11-29T17:48:12Z","updated_at":"2016-02-28T16:53:47Z","pushed_at":"2016-07-01T21:42:28Z","git_url":"git://github.com/rexim/Morganey.git","ssh_url":"git@github.com:rexim/Morganey.git","clone_url":"https://github.com/rexim/Morganey.git","svn_url":"https://github.com/rexim/Morganey","homepage":null,"size":104,"stargazers_count":4,"watchers_count":4,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":21,"forks":2,"open_issues":21,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rexim/Morganey/pulls/61"},"html":{"href":"https://github.com/rexim/Morganey/pull/61"},"issue":{"href":"https://api.github.com/repos/rexim/Morganey/issues/61"},"comments":{"href":"https://api.github.com/repos/rexim/Morganey/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/rexim/Morganey/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/rexim/Morganey/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rexim/Morganey/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/rexim/Morganey/statuses/b72aee209e3fa7ac2c5ac37fba1e199e6cef7667"}}}}
{"actor":{"display_login":"rexim"}}