{"action":"created","issue":{"url":"https://api.github.com/repos/slavapestov/factor/issues/1338","labels_url":"https://api.github.com/repos/slavapestov/factor/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/slavapestov/factor/issues/1338/comments","events_url":"https://api.github.com/repos/slavapestov/factor/issues/1338/events","html_url":"https://github.com/slavapestov/factor/issues/1338","id":85787170,"number":1338,"title":"Funky \"has not been compiled\" problem","user":{"login":"mrjbq7","id":24195,"avatar_url":"https://avatars.githubusercontent.com/u/24195?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjbq7","html_url":"https://github.com/mrjbq7","followers_url":"https://api.github.com/users/mrjbq7/followers","following_url":"https://api.github.com/users/mrjbq7/following{/other_user}","gists_url":"https://api.github.com/users/mrjbq7/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjbq7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjbq7/subscriptions","organizations_url":"https://api.github.com/users/mrjbq7/orgs","repos_url":"https://api.github.com/users/mrjbq7/repos","events_url":"https://api.github.com/users/mrjbq7/events{/privacy}","received_events_url":"https://api.github.com/users/mrjbq7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/slavapestov/factor/labels/compiler","name":"compiler","color":"DDDDDD"},{"url":"https://api.github.com/repos/slavapestov/factor/labels/locals","name":"locals","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-06-06T17:52:20Z","updated_at":"2015-06-22T23:16:24Z","closed_at":"2015-06-22T23:14:57Z","body":"Start a fresh Factor instance, and paste this into the UI listener.\r\n\r\n```factor\r\n:: sieve ( n -- primes )\r\n    n 1 + t <array> :> sieve\r\n    f 0 sieve set-nth\r\n    f 1 sieve set-nth\r\n\r\n    2 n [a,b] [| i |\r\n        i sieve nth [\r\n            2 i * n i <range> [| j |\r\n                f j sieve set-nth\r\n            ] each\r\n        ] when\r\n    ] each\r\n\r\n    sieve [ drop ] selector [ each-index ] dip ;\r\n```\r\n\r\nYou will get two restarts: one for ``locals``, one for ``math.ranges``.\r\n\r\nAfter choosing the \"right\" vocabs to use, try running ``100 sieve``.\r\n\r\nYou get this error:\r\n\r\n```\r\nCannot execute a word before it has been compiled\r\nword sieve\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/slavapestov/factor/issues/comments/114299697","html_url":"https://github.com/slavapestov/factor/issues/1338#issuecomment-114299697","issue_url":"https://api.github.com/repos/slavapestov/factor/issues/1338","id":114299697,"user":{"login":"mrjbq7","id":24195,"avatar_url":"https://avatars.githubusercontent.com/u/24195?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjbq7","html_url":"https://github.com/mrjbq7","followers_url":"https://api.github.com/users/mrjbq7/followers","following_url":"https://api.github.com/users/mrjbq7/following{/other_user}","gists_url":"https://api.github.com/users/mrjbq7/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjbq7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjbq7/subscriptions","organizations_url":"https://api.github.com/users/mrjbq7/orgs","repos_url":"https://api.github.com/users/mrjbq7/repos","events_url":"https://api.github.com/users/mrjbq7/events{/privacy}","received_events_url":"https://api.github.com/users/mrjbq7/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T23:16:24Z","updated_at":"2015-06-22T23:16:24Z","body":"@bjourne fixed this, closing."}}