Comments (18)
Some info I can add:
The license was updated to be BSD 2
https://github.com/mathworks/MATLAB-Language-grammar/blob/master/license.txt
In the version I'm testing with I converted the MathWorks grammar and then augmented that with the function highlighting to address the VSCode issue referenced. I'll submit a PR to show an example of what I had in mind. Hopefully that will make things more concrete.
from language-matlab-octave.
@brian-lau @shur-greg @s-m-e @alpsayin @elpollodiablo84 @scrupeus @anthony-wang @luqmaan @gradyzhuo @fusion809 @jorgeborges @memming
Please read this Issue thread regarding a major change in the Matlab grammar -- switching source from Textmate to MathWorks. Related PR #16 with examples of changes.
Before implementing this change, we would appreciate feedback and suggestions from others like yourself using the package currently.
Note: no changes will be made to Octave grammar.
from language-matlab-octave.
I'm one of the people who forked this package, mainly to correct some of the errors in question and implement the management of persistent variables.
I think that all the issues solved by this migration justify it, and personally I don'think the average user will be "upset" by the change. At most it will be strange to see plain looking variables instead of red ones!
My package already solves all the issues related to PR #16, and I would like to continue maintaining it mainly for the persistent variables highlighting, so these changes will not impact me.
That being said, I will gladly help you in any way possible and I will follow closely the development of this migration!
from language-matlab-octave.
I don't really use Atom nowadays, aside from as a Julia IDE (i.e. with Juno), so I'm going to unsubscribe from this.
from language-matlab-octave.
Note: I added a to-do regarding question about "version-locking" this package and Mathworks source package. Mathworks isn't using "release" process... how will we know 1) what Mathworks version we used to update our current release and 2) when we need to update because Mathworks has a new "version" release.
Am I making sense? Also, trying not to overthink it but definitely want to avoid future confusion.
Good point. Adding @gauravsavadi who owns the MathWorks repo to get his thoughts on version tracking, releases, etc.
from language-matlab-octave.
Hi @thedavidprice, thanks for involving me in the conversation. But like fusion809 (intentionally not tagging) it's been a while for me since I used atom and I only made tiny mods to make it work for myself and definitely not an authority on this. So I'll have to take the bench on this one. I wish you all good luck and thank for the good work that rest of us benefit :)
from language-matlab-octave.
Protip: don't get fancy with apm publishing semver. So much grrrr.
That said, v1.0.1 is now in the world:
https://github.com/thedavidprice/language-matlab-octave/releases/tag/v1.0.1
Thanks again for making this happen @rlivings39 I'll look for future PRs from the Mathworks repo.
from language-matlab-octave.
I added #16 (comment) showing the differences on a much larger example to give more insight into the question of whether or not this is a wholesale change or incremental change. Most of the changes shown there I'd regard as bug fixes. I'm interested to hear others' thoughts.
from language-matlab-octave.
Opened #17 to address license requirements.
from language-matlab-octave.
Note: I added a to-do regarding question about "version-locking" this package and Mathworks source package. Mathworks isn't using "release" process... how will we know 1) what Mathworks version we used to update our current release and 2) when we need to update because Mathworks has a new "version" release.
Am I making sense? Also, trying not to overthink it but definitely want to avoid future confusion.
from language-matlab-octave.
@elpollodiablo84 Thank you for your comments and offer to help. Once we get through this change, would also welcome any suggestions for migration of improvements you’ve made. Otherwise @rlivings39 has done the work on #16 to the point where it’s ready to merge. Going to give it a little time for any further review from others including yourself.
from language-matlab-octave.
@thedavidprice, anything else I can provide right now to help keep this moving along?
from language-matlab-octave.
@rlivings39 Thanks for the prompt. Was traveling and lost mometum here.
I’ll work to turn around final tasks on my end and publish an RC1 in the next day or two. Only thing I don’t have a handle on is how to “lock” this package version to state/version of Mathworks. Or how to identify when Mathworks updates occur that should trigger an update on this end. Any suggestions @gauravsavadi ?
For now I could probably just add link to Mathworks commit hash in the README as a record… y/n?
from language-matlab-octave.
Thanks @thedavidprice. Logging the commit hash in the README seems like a reasonable option short term. Other repos that have used this grammar have added it as a submodule which implicitly records the linked commit. Long term what you find ideal? Releases? Something else?
from language-matlab-octave.
@rlivings39 README = roger that. I’m working on this now: merging PRs, manually running through process for check, updating README as needed. Also pulled PRs to add MIT license and ditch init travis.yml setup.
For maintaining long-term, the only circumstance I don’t have an answer for is “how will I know when an update occurred on mathworks/MATLAB-Language-grammar that should trigger an update here?” If it’s as simple as you or @gauravsavadi opening an Issue or PR, that’s fine by me. I’ve subscribed to notifcations for that repo now — might be easier if there were releases, but could be fine as is. So I officially hand off this decision to you. Just keep me posted what you decide as I’m good either way :-)
from language-matlab-octave.
I'm fine with opening issues/PRs for now until we come up with a more formal solution.
from language-matlab-octave.
@rlivings39 Take a look at the latest master branch. I’ve updated the README and also re-added your original functions.cson
file. When I went through the process manually, I better understood your original intent and thought it would indeed be more clear for future updates.
Please make sure I’ve documented correctly — and just let me know or PR otherwise. Once you give it a
from language-matlab-octave.
Ship it!
Looks great to me @thedavidprice. Many thanks for all the help getting this ready to release.
from language-matlab-octave.
Related Issues (11)
- Objective-C has the same file extension of .m HOT 2
- Comment blocks not fully supported HOT 4
- Some scope errors after mathworks/MATLAB-Language-grammar transition HOT 18
- Package.loadSettings is deprecated. HOT 4
- Adding Collaborator(s) HOT 3
- Single quotes in comments parsed incorrectly HOT 1
- Keywords not working properly HOT 3
- doesn't accept '#' as comment marker HOT 1
- v0.1.2 while tagged is not in the Atom package registry HOT 1
- Syntax highlighting in Markdown HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-matlab-octave.