{"action":"created","issue":{"url":"https://api.github.com/repos/github/linguist/issues/3137","repository_url":"https://api.github.com/repos/github/linguist","labels_url":"https://api.github.com/repos/github/linguist/issues/3137/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/3137/comments","events_url":"https://api.github.com/repos/github/linguist/issues/3137/events","html_url":"https://github.com/github/linguist/pull/3137","id":168495131,"number":3137,"title":"Use Tcl syntax highlighting for the Expect programming language","user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false},"assignees":[{"login":"pchaigno","id":1764210,"avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=3","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2016-07-31T00:54:27Z","updated_at":"2016-08-11T21:03:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/github/linguist/pulls/3137","html_url":"https://github.com/github/linguist/pull/3137","diff_url":"https://github.com/github/linguist/pull/3137.diff","patch_url":"https://github.com/github/linguist/pull/3137.patch"},"body":"I would like to use Tcl syntax highlighting for [Expect](https://en.wikipedia.org/wiki/Expect) scripts. Expect is essentially a Tcl extension that allows you to automate interactive scripts. It is installed by default on macOS and most Linux distributions.\r\n\r\nI added the `.exp` extension to `languages.yml` and copied an example script from the [Expect tarball](https://sourceforge.net/projects/expect/files/Expect/5.45/expect5.45.tar.gz/download).\r\n\r\nThere appear to be [many other Expect scripts](https://github.com/search?p=1&q=extension%3Aexp+NOT+nothack&ref=searchresults&type=Code&utf8=%E2%9C%93) in GitHub, although not all files with the `.exp` extension are in fact Expect scripts. Perhaps we could only support files with a shebang like `#!/usr/bin/expect` or `#!/usr/bin/env expect`? I don't know how to do this.\r\n\r\nOne day I hope to add a separate language solely for Expect. I filed an [Issue with Pygments](https://bitbucket.org/birkenfeld/pygments-main/issues/1273/add-lexer-for-expect-programming-language#comment-None) to get started on that work."},"comment":{"url":"https://api.github.com/repos/github/linguist/issues/comments/239291942","html_url":"https://github.com/github/linguist/pull/3137#issuecomment-239291942","issue_url":"https://api.github.com/repos/github/linguist/issues/3137","id":239291942,"user":{"login":"mlinksva","id":40415,"avatar_url":"https://avatars.githubusercontent.com/u/40415?v=3","gravatar_id":"","url":"https://api.github.com/users/mlinksva","html_url":"https://github.com/mlinksva","followers_url":"https://api.github.com/users/mlinksva/followers","following_url":"https://api.github.com/users/mlinksva/following{/other_user}","gists_url":"https://api.github.com/users/mlinksva/gists{/gist_id}","starred_url":"https://api.github.com/users/mlinksva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlinksva/subscriptions","organizations_url":"https://api.github.com/users/mlinksva/orgs","repos_url":"https://api.github.com/users/mlinksva/repos","events_url":"https://api.github.com/users/mlinksva/events{/privacy}","received_events_url":"https://api.github.com/users/mlinksva/received_events","type":"User","site_admin":true},"created_at":"2016-08-11T21:03:59Z","updated_at":"2016-08-11T21:03:59Z","body":"@adamjstewart ah, no I don't really suggest contacting Libes. Expect has been distributed and used by so many entities including careful ones, before there was much (relative to now) common knowledge about the status of US government works worldwide, that I think it would be fine if there was no alternative. I'd be more skeptical of a US government work program released now without a license. But since we're just using it as an example and any Expect code would do, if you can find or create an example under an open source license that'd be ideal. Thanks!"}}
{"actor":{"display_login":"mlinksva"}}