{"action":"created","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/11609","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/11609/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/11609/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/11609/events","html_url":"https://github.com/flutter/flutter/issues/11609","id":250080704,"node_id":"MDU6SXNzdWUyNTAwODA3MDQ=","number":11609,"title":"Consider JSX-like syntax inside dart code","user":{"login":"cbazza","id":13589599,"node_id":"MDQ6VXNlcjEzNTg5NTk5","avatar_url":"https://avatars3.githubusercontent.com/u/13589599?v=4","gravatar_id":"","url":"https://api.github.com/users/cbazza","html_url":"https://github.com/cbazza","followers_url":"https://api.github.com/users/cbazza/followers","following_url":"https://api.github.com/users/cbazza/following{/other_user}","gists_url":"https://api.github.com/users/cbazza/gists{/gist_id}","starred_url":"https://api.github.com/users/cbazza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbazza/subscriptions","organizations_url":"https://api.github.com/users/cbazza/orgs","repos_url":"https://api.github.com/users/cbazza/repos","events_url":"https://api.github.com/users/cbazza/events{/privacy}","received_events_url":"https://api.github.com/users/cbazza/received_events","type":"User","site_admin":false},"labels":[{"id":381246489,"node_id":"MDU6TGFiZWwzODEyNDY0ODk=","url":"https://api.github.com/repos/flutter/flutter/labels/dependency:%20dart","name":"dependency: dart","color":"003570","default":false},{"id":284438921,"node_id":"MDU6TGFiZWwyODQ0Mzg5MjE=","url":"https://api.github.com/repos/flutter/flutter/labels/engine","name":"engine","color":"003570","default":false},{"id":284437560,"node_id":"MDU6TGFiZWwyODQ0Mzc1NjA=","url":"https://api.github.com/repos/flutter/flutter/labels/framework","name":"framework","color":"207de5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/flutter/flutter/milestones/10","html_url":"https://github.com/flutter/flutter/milestone/10","labels_url":"https://api.github.com/repos/flutter/flutter/milestones/10/labels","id":1594868,"node_id":"MDk6TWlsZXN0b25lMTU5NDg2OA==","number":10,"title":"Future","description":"P4: These are for features we are interested in but explicitly punting for the foreseeable future. Typically this is for features that go beyond the scope of our initial goal of having a solid UI framework for making applications for Android and iOS phones and tablets. We are extremely unlikely to work on issues in this milestone.\r\n\r\nThe date on this milestone is utterly arbitrary and just intended to sort the milestone appropriately.","creator":{"login":"Hixie","id":551196,"node_id":"MDQ6VXNlcjU1MTE5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/551196?v=4","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"open_issues":110,"closed_issues":70,"state":"open","created_at":"2016-02-20T17:00:30Z","updated_at":"2018-08-01T03:50:49Z","due_on":"2033-01-01T08:00:00Z","closed_at":null},"comments":238,"created_at":"2017-08-14T16:16:38Z","updated_at":"2018-08-01T03:50:49Z","closed_at":"2018-08-01T03:50:49Z","author_association":"NONE","body":"It would be great if aside from the current way of building widgets you could add JSX like capabilities. I mean add tiny syntactic sugar to enable XML like constructs inside dart code. It just makes code so much easier to read/develop/debug/maintain and also easier for powerful GUI builders to integrate with editable code.\r\n\r\nLooking for something like DSX:\r\nhttps://spark-heroku-dsx.herokuapp.com/index.html\r\n\r\nCarlos.\r\n\r\n---\r\n\r\nThe current issue with DSX is about proper integration with Flutter tools as to provide a great developer experience with debugger, auto-complete, etc. working on .dsx files.\r\n\r\nTelling users that they can use DSX but can't use debugger or enjoy auto-complete is a non starter for me. If anybody wants to help, what I need is to figure out a way to add full preprocessing support (with source map) to Dart Tools and VS Code Dart plug in. Once the tools support that DSX or any other transpiling language (any language that is a superset of Dart but compiles everything down to Dart) would just work.\r\n\r\nIf you can and would like to help, let me know.\r\n"},"comment":{"url":"https://api.github.com/repos/flutter/flutter/issues/comments/409440643","html_url":"https://github.com/flutter/flutter/issues/11609#issuecomment-409440643","issue_url":"https://api.github.com/repos/flutter/flutter/issues/11609","id":409440643,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTQ0MDY0Mw==","user":{"login":"Hixie","id":551196,"node_id":"MDQ6VXNlcjU1MTE5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/551196?v=4","gravatar_id":"","url":"https://api.github.com/users/Hixie","html_url":"https://github.com/Hixie","followers_url":"https://api.github.com/users/Hixie/followers","following_url":"https://api.github.com/users/Hixie/following{/other_user}","gists_url":"https://api.github.com/users/Hixie/gists{/gist_id}","starred_url":"https://api.github.com/users/Hixie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hixie/subscriptions","organizations_url":"https://api.github.com/users/Hixie/orgs","repos_url":"https://api.github.com/users/Hixie/repos","events_url":"https://api.github.com/users/Hixie/events{/privacy}","received_events_url":"https://api.github.com/users/Hixie/received_events","type":"User","site_admin":false},"created_at":"2018-08-01T03:50:49Z","updated_at":"2018-08-01T03:50:49Z","author_association":"CONTRIBUTOR","body":"Ok this conversation has gone well beyond the kinds of discussions that we consider acceptable in the Flutter community, and so I'm going to lock this thread and close the bug. Please consider reading https://flutter.io/design-principles/#conflict-resolution for more details on how we behave here.\r\n\r\nThe next step if anyone wants to contribute code to address this issue would be to come up with a design for how to do build system integration such that we can have code generation work with Gradle, Xcode, hot reload, and integration with existing apps. If anyone is interested in working on this, please don't hesitate to reach out to me. Otherwise I expect this is something we'll work on early next year. Once we have a mechanism to do that, solutions like DSX will be easy to integrate into the Flutter ecosystem. We may even find solutions that should be integrated by default. In the meantime we're also working on improvements to Dart's syntax to see if we can make UI expressions even easier to write.\r\n\r\nI would like to ask that people do not open new bugs on this topic unless there is something very constructive and new that is worth bringing up."}}
{"actor":{"display_login":"Hixie"}}