{"action":"created","issue":{"url":"https://api.github.com/repos/metapolator/metapolator/issues/323","labels_url":"https://api.github.com/repos/metapolator/metapolator/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/metapolator/metapolator/issues/323/comments","events_url":"https://api.github.com/repos/metapolator/metapolator/issues/323/events","html_url":"https://github.com/metapolator/metapolator/issues/323","id":51657704,"number":323,"title":"Language changes","user":{"login":"graphicore","id":393132,"avatar_url":"https://avatars.githubusercontent.com/u/393132?v=3","gravatar_id":"","url":"https://api.github.com/users/graphicore","html_url":"https://github.com/graphicore","followers_url":"https://api.github.com/users/graphicore/followers","following_url":"https://api.github.com/users/graphicore/following{/other_user}","gists_url":"https://api.github.com/users/graphicore/gists{/gist_id}","starred_url":"https://api.github.com/users/graphicore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphicore/subscriptions","organizations_url":"https://api.github.com/users/graphicore/orgs","repos_url":"https://api.github.com/users/graphicore/repos","events_url":"https://api.github.com/users/graphicore/events{/privacy}","received_events_url":"https://api.github.com/users/graphicore/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/metapolator/metapolator/labels/enhancement","name":"enhancement","color":"bfe5bf"},{"url":"https://api.github.com/repos/metapolator/metapolator/labels/question","name":"question","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"graphicore","id":393132,"avatar_url":"https://avatars.githubusercontent.com/u/393132?v=3","gravatar_id":"","url":"https://api.github.com/users/graphicore","html_url":"https://github.com/graphicore","followers_url":"https://api.github.com/users/graphicore/followers","following_url":"https://api.github.com/users/graphicore/following{/other_user}","gists_url":"https://api.github.com/users/graphicore/gists{/gist_id}","starred_url":"https://api.github.com/users/graphicore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphicore/subscriptions","organizations_url":"https://api.github.com/users/graphicore/orgs","repos_url":"https://api.github.com/users/graphicore/repos","events_url":"https://api.github.com/users/graphicore/events{/privacy}","received_events_url":"https://api.github.com/users/graphicore/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2014-12-11T08:10:16Z","updated_at":"2015-02-18T00:51:41Z","closed_at":null,"body":"There are some changes to CPS/MOM that I want to propose.\r\nAll will require existing metapolator projects to change. Thus it's probably much better to do it earlier than later, so that less projects will have to change.\r\n\r\n**naming/renaming `penstroke` child elements**\r\nThis was initially discussed here: https://github.com/graphicore/metapolator/commit/f7978ccc05eb04bc496501f832df0ffb507eb14c#commitcomment-8886081\r\n\r\nCurrently\r\n```\r\npenstroke > point > left|center|right\r\n```\r\nBut given that `point` is not a point we'd prefer `node` for it\r\n```\r\npenstroke > node > left|center|right\r\n```\r\n@davelab6 further suggested calling the children of `node` `lpoint|cpoint|rpoint`\r\n```\r\npenstroke > node > lpoint|cpoint|rpoint\r\n```\r\nor shorter\r\n```\r\npenstroke > node > lp|cp|rp\r\n```\r\nBoth are viable proposals. The last one would keep us from writing `point` often.\r\n\r\nI think that `point` is still a bit wrong at that stage because a `*point` defines at least three coordinates/points `in on out`. But if we could agree that we mean the `on` point with `*point` and that `in` and `out` are merely the handles of that point, we are good to go.\r\n\r\nAlso, `node` may become a useful name for other scenarios as well, then we would probably have to prefix it with some character in that new scenario.\r\n\r\n**naming `outline` child elements**\r\nHaving freed the name `point` from it's usage as child of penstroke, we can use it as name for `outline` children:\r\n```\r\noutline > point\r\n```\r\nor alternatively the much shorter (I'd take this, because then I can finish #321 sooner)\r\n```\r\noutline > p\r\n```\r\n\r\n**removing `@dictionary`**\r\n`@dictionary` is a relict of the early development stage of cps. I think we can toss it away and just write the there defined values into the normal rule blocks. The required changes in the code are not so many.\r\nAlso, the changes in existing cps are as easy as just removing `@dictionary` and its closing `}`.\r\n\r\nAt the moment the namespace for cps-parameters is already shared, all what we have at the moment is that the \"registered\" parameters 'win' over the @dictionary parameters and that @dictionary parameters can be defined freely by the user, using our formulae language.\r\n\r\nI propose to keep the mechanism of \"registered parameters\", which define a type (like Vector) that must result from evaluating the formulae language(or anything else we can chose upon registration). But all other names can be used to define custom user parameters, using formulae language.\r\n\r\nSee also: #322\r\n\r\n**`@ns` as an short alias of `@namespace`**\r\nThis can be implemented easily and without having to change any existing CPS. However, if there is a  good argument against having an alias for this, we may as well remove `@namespace`. This is also to make us write less.\r\n\r\nIn the future, I'd also like to try a nested rule style as seen in lessCSS: http://lesscss.org/features/#features-overview-feature-nested-rules But for now a) gonzales may not like this b) the effort may be big.\r\n\r\n@davelab6 @simonegli @rrthomas @monkeyiq @frank-trampe please comment. "},"comment":{"url":"https://api.github.com/repos/metapolator/metapolator/issues/comments/74789177","html_url":"https://github.com/metapolator/metapolator/issues/323#issuecomment-74789177","issue_url":"https://api.github.com/repos/metapolator/metapolator/issues/323","id":74789177,"user":{"login":"graphicore","id":393132,"avatar_url":"https://avatars.githubusercontent.com/u/393132?v=3","gravatar_id":"","url":"https://api.github.com/users/graphicore","html_url":"https://github.com/graphicore","followers_url":"https://api.github.com/users/graphicore/followers","following_url":"https://api.github.com/users/graphicore/following{/other_user}","gists_url":"https://api.github.com/users/graphicore/gists{/gist_id}","starred_url":"https://api.github.com/users/graphicore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphicore/subscriptions","organizations_url":"https://api.github.com/users/graphicore/orgs","repos_url":"https://api.github.com/users/graphicore/repos","events_url":"https://api.github.com/users/graphicore/events{/privacy}","received_events_url":"https://api.github.com/users/graphicore/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T00:51:41Z","updated_at":"2015-02-18T00:51:41Z","body":"no, there are still some things open"}}