{"action":"created","issue":{"url":"https://api.github.com/repos/trampgeek/jobe/issues/5","labels_url":"https://api.github.com/repos/trampgeek/jobe/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/trampgeek/jobe/issues/5/comments","events_url":"https://api.github.com/repos/trampgeek/jobe/issues/5/events","html_url":"https://github.com/trampgeek/jobe/pull/5","id":96917642,"number":5,"title":"Pascal support","user":{"login":"Fedor-Lyanguzov","id":8027190,"avatar_url":"https://avatars.githubusercontent.com/u/8027190?v=3","gravatar_id":"","url":"https://api.github.com/users/Fedor-Lyanguzov","html_url":"https://github.com/Fedor-Lyanguzov","followers_url":"https://api.github.com/users/Fedor-Lyanguzov/followers","following_url":"https://api.github.com/users/Fedor-Lyanguzov/following{/other_user}","gists_url":"https://api.github.com/users/Fedor-Lyanguzov/gists{/gist_id}","starred_url":"https://api.github.com/users/Fedor-Lyanguzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fedor-Lyanguzov/subscriptions","organizations_url":"https://api.github.com/users/Fedor-Lyanguzov/orgs","repos_url":"https://api.github.com/users/Fedor-Lyanguzov/repos","events_url":"https://api.github.com/users/Fedor-Lyanguzov/events{/privacy}","received_events_url":"https://api.github.com/users/Fedor-Lyanguzov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-23T22:24:54Z","updated_at":"2015-07-27T23:30:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/trampgeek/jobe/pulls/5","html_url":"https://github.com/trampgeek/jobe/pull/5","diff_url":"https://github.com/trampgeek/jobe/pull/5.diff","patch_url":"https://github.com/trampgeek/jobe/pull/5.patch"},"body":"Hello again, Richard.\r\n\r\nThis pull request is about adding Pascal language support to Jobe server.\r\n\r\nThis is my first attempt at participation in open source development, so please be forgiving. I'm starting this pull request very early to make a place for conversation.\r\n\r\nThe goal is to make Pascal questions work as much like C-program questions as possible.\r\n\r\nI see my development plan as:\r\n1) Choose an open source Pascal compiler.\r\n2) Add a task to jobe/application/libraries.\r\n3) Make a test submit (in testsubmit.py?)\r\n\r\nThe choice of compiler is from:\r\n1) [GNU Pascal](http://www.gnu-pascal.de/gpc/h-index.html)\r\n2) [Free Pascal](http://www.freepascal.org/)\r\nI have chosen Free Pascal because it has a live community, and i have some experience using it. I have installed it with:\r\n```sudo apt-get install fp-compiler```\r\n[Debian Wheezy 7.8 fp-compiler package](https://packages.debian.org/wheezy/fp-compiler-2.6.0)\r\nNote: i see no reason in installing `fpc`(full package), because it has an IDE in it, while only compiler will be used.\r\n\r\nI have created language task for Pascal based on c_task.php. While modifying it, i was stopped by a question, which i can't answer myself (even with Google). What is the meaning of `-lm` flag of gcc (c_task.php, line 35)?\r\n```$cmd = \"gcc \" . implode(' ', $compileargs) . \" -o $execFileName $src -lm 2>$errorFileName\";```\r\nI have only one idea: it's a `-l` link library flag, with `m` library. \r\n\r\nOn a side note, how should i create a CodeRunner Pascal-program question, with Moodle interface or just by copying and editing c_program prototype in built-in protos?\r\n\r\nSincerely yours,\r\nFedor"},"comment":{"url":"https://api.github.com/repos/trampgeek/jobe/issues/comments/125378312","html_url":"https://github.com/trampgeek/jobe/pull/5#issuecomment-125378312","issue_url":"https://api.github.com/repos/trampgeek/jobe/issues/5","id":125378312,"user":{"login":"trampgeek","id":1101142,"avatar_url":"https://avatars.githubusercontent.com/u/1101142?v=3","gravatar_id":"","url":"https://api.github.com/users/trampgeek","html_url":"https://github.com/trampgeek","followers_url":"https://api.github.com/users/trampgeek/followers","following_url":"https://api.github.com/users/trampgeek/following{/other_user}","gists_url":"https://api.github.com/users/trampgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/trampgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trampgeek/subscriptions","organizations_url":"https://api.github.com/users/trampgeek/orgs","repos_url":"https://api.github.com/users/trampgeek/repos","events_url":"https://api.github.com/users/trampgeek/events{/privacy}","received_events_url":"https://api.github.com/users/trampgeek/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T23:30:42Z","updated_at":"2015-07-27T23:30:42Z","body":"Hi Fedor\r\n\r\nThis sounds like good progress. However, I'm afraid I'm tied up all this week with work plus family matters. I hope to try a merge next week some time.\r\n\r\nRIchard\r\n\r\n"}}