{"action":"created","issue":{"url":"https://api.github.com/repos/guisouza/dss/issues/12","labels_url":"https://api.github.com/repos/guisouza/dss/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/guisouza/dss/issues/12/comments","events_url":"https://api.github.com/repos/guisouza/dss/issues/12/events","html_url":"https://github.com/guisouza/dss/issues/12","id":107944914,"number":12,"title":"Syntax - considerations","user":{"login":"lucasconstantino","id":2688512,"avatar_url":"https://avatars.githubusercontent.com/u/2688512?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasconstantino","html_url":"https://github.com/lucasconstantino","followers_url":"https://api.github.com/users/lucasconstantino/followers","following_url":"https://api.github.com/users/lucasconstantino/following{/other_user}","gists_url":"https://api.github.com/users/lucasconstantino/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasconstantino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasconstantino/subscriptions","organizations_url":"https://api.github.com/users/lucasconstantino/orgs","repos_url":"https://api.github.com/users/lucasconstantino/repos","events_url":"https://api.github.com/users/lucasconstantino/events{/privacy}","received_events_url":"https://api.github.com/users/lucasconstantino/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-09-23T15:23:14Z","updated_at":"2015-10-26T14:40:30Z","closed_at":null,"body":"As I understood, you are indeed creating another syntax for stylesheets. Although I consider this might be justifiable, we have to keep in mind some problems it brings:\r\n\r\n- Editors are not prepared to your expressions;\r\n- Preprocessors will have a hard time compiling it.\r\n\r\nI'm sure there more issues that can be brought up on this topic. Therefore, unless we plan on building plugins for a considerable amount of editors and preprocessors and syntax highlighters or whatever, we should address the possibility of rethinking the syntax to be CSS compliant somehow.\r\n\r\n I'm not here to bring you some solution anyway. But I would like to show an example of things that could be build using compliant syntax. For instance, the code below would fail to compile using Sass:\r\n\r\n```css\r\nfoo {\r\n  bar: ||mouseY-25||px;\r\n}\r\n```\r\n\r\nwhilst the following would get properly compiled:\r\n```css\r\nfoo {\r\n  bar: dss(\"mouseY|px\");\r\n}\r\n```\r\n\r\nAgain, just an example of something that works. We should definitely discuss more on the topic before defining any syntax or pattern to go forward with."},"comment":{"url":"https://api.github.com/repos/guisouza/dss/issues/comments/151159619","html_url":"https://github.com/guisouza/dss/issues/12#issuecomment-151159619","issue_url":"https://api.github.com/repos/guisouza/dss/issues/12","id":151159619,"user":{"login":"felipegtx","id":1022404,"avatar_url":"https://avatars.githubusercontent.com/u/1022404?v=3","gravatar_id":"","url":"https://api.github.com/users/felipegtx","html_url":"https://github.com/felipegtx","followers_url":"https://api.github.com/users/felipegtx/followers","following_url":"https://api.github.com/users/felipegtx/following{/other_user}","gists_url":"https://api.github.com/users/felipegtx/gists{/gist_id}","starred_url":"https://api.github.com/users/felipegtx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felipegtx/subscriptions","organizations_url":"https://api.github.com/users/felipegtx/orgs","repos_url":"https://api.github.com/users/felipegtx/repos","events_url":"https://api.github.com/users/felipegtx/events{/privacy}","received_events_url":"https://api.github.com/users/felipegtx/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T14:40:30Z","updated_at":"2015-10-26T14:40:30Z","body":"@leocavalcante if they are no applied, I think that's the best case scenario - even desired I'd say. \r\n\r\nAlso, I think that if we're talking about processors, then we can go crazy and create anything fearlessly. :sunglasses: "}}