@antlr/antlr-targets Howdy! Ok, I'd like to finish up 4.6 in the next week. What remaining issues must be fixed for 4.6? Are you satisfied people know how to use your target (i.e., via the doc)? Maybe add a comment here with a link to issue or issues you feel must be in 4.6 release. Silence implies consent to release 4.6 :)
For Java, I want to fix:
Hi,
still working on implementing the closure loop early exit optimisation for C#
Not sure I will be done by next week.
Eric
Le 11 déc. 2016 à 05:46, Terence Parr notifications@github.com a écrit :
@antlr/antlr-targets https://github.com/orgs/antlr/teams/antlr-targets Howdy! Ok, I'd like to finish up 4.6 in the next week. What remaining issues must be fixed for 4.6? Are you satisfied people know how to use your target (i.e., via the doc)? Maybe add a comment here with a link to issue or issues you feel must be in 4.6 release. Silence implies consent to release 4.6 :)
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub https://github.com/antlr/antlr4/issues/1482, or mute the thread https://github.com/notifications/unsubscribe-auth/ADLYJOj1YdWF27LWWCbKEO6SvcEOvfs6ks5rGx3BgaJpZM4LJxKQ.
I'm also still working on this fix. While it improves speed a lot in some special cases, I have hit a wall with one test case where parsing never ends because of extremly much comparison going on which slows down the project. No idea when I can fix that.
@parrt Once 4.6 is out how long will it take for a follow up release (e.g. when I have new changes in the C++ target)? Do you have a fix release cycle or rather do a new one when necessary?
Can you @antlr/antlr-targets guys check https://github.com/antlr/antlr4/blob/master/doc/releasing-antlr.md to ensure I know how to properly release your target? I guess we need Go, Swift notes and others can check the text for accuracy. (Email me changes to avoid collisions)
@mike-lischke I can do a 4.6.1 soon if you like. I have no fixed release cycle but it appears to be 2x per year at moment if I'm left to my own behavior (i.e., without nudging from you guys)
About release notes: you have to uncomment the last line in each C++ deployment script (mentioned in the docs) and update the path where you want the final packages be copied.
About release dates: well, I don't wanna hold the major 4.6 release with my smaller changes and I have no idea how long it will take till I can find the problem with the left recursion test. This can then be delivered in a follow up release. Btw, can you merge the threading fix I posted today? This could then be tested more before release.
@janyou You say just "You will find Swift runtime (framework project) in antlr4/runtime/Swift" on https://github.com/antlr/antlr4/blob/master/doc/swift-target.md but what does that mean? They must go to github or something? Do I supply a zip? jar? tar? How do I publish a swift release for antlr? @hanjoes can you help?
@antlr/antlr-targets I'm stuck doing admin work most of day today but will be back in action soon as possible.
I presume the old doc implies package structure in @janyou's original repo, but yeah, I will take a look.
@parrt I think Swift runtime and CSharp runtime are similar.
It may be a good choice to split all targets' runtimes into separate repo.
But this will affect the test suite.
CSharp
Step 3: Add a reference to the ANTLR runtime in your project
We trust that you know how to do this :-).
I don't. What do you mean add the run time? Do you mean add a zip file? Add a directory to a path? If you want me to distribute your target you have to tell me what to deliver.
Sent from my iPhone
On Dec 13, 2016, at 5:31 PM, janyou notifications@github.com wrote:
@parrt I think Swift runtime and CSharp runtime are similar.
CSharp
Step 3: Add a reference to the ANTLR runtime in your project
We trust that you know how to do this :-).—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
@parrt Janyou means that you'd just import the ANTLR runtime as a project inside Xcode. In other words, a source-level import. There's no distribution to do, per se, other than what's already on GitHub, because all the project files are already there.
It's pretty normal to do this with Swift, because there's no binary compatibility between Swift versions (yet) so there's little value in distributing compiled binaries for open-source projects.
There are package managers (Swift Package Manager, CocoaPods, or Carthage) but they'd only add a thin bit of metadata over what's already here, and it's purely optional.
I think by offering some kind of "artifact" could make the usage easier and cleaner. And since we may not be able to assume that every user will like to statically link the parser into their product, by offering a library will result in more flexibility in the future.
@hanjoes Distributing "artifacts" doesn't make sense for Swift (compared with Java for example) because the ABI for Swift is not stable yet, so you have to have a perfectly matching Swift standard library.
Swift doesn't have the same library system that other languages have, so the distinction between static and dynamically linking into your product doesn't have the same connotations that it does elsewhere.
What you have in the tree is already a library (technically, a framework in Apple's terminology). Distributing them as source code (with an Xcode project file) is entirely normal.
That makes sense. I guess for swift the common practice is to distribute it with the source code so user can add the xproject into workspace and use the framework generated. Haven't played with package yet but right now the closest way seems to publish a CocoaPod but that seems require a separate repo which is basically same as source level distribution.
Sent from my iPad
On Dec 14, 2016, at 12:15 AM, Ewan Mellor notifications@github.com wrote:
@hanjoes Distributing "artifacts" doesn't make sense for Swift (compared with Java for example) because the ABI for Swift is not stable yet, so you have to have a perfectly matching Swift standard library.
Swift doesn't have the same library system that other languages have, so the distinction between static and dynamically linking into your product doesn't have the same connotations that it does elsewhere.
What you have in the tree is already a library (technically, a framework in Apple's terminology). Distributing them as source code (with an Xcode project file) is entirely normal.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
@ewanmellor @hanjoes @jeffreyguenther
I'm going to be very busy the next few months. I hope you take over the support of Swift target.
If you have any questions, you can send mail to me.
(#1439 hasn't been solved yet)
I will have more time when it’s approaching to holidays.
Also submitted an issue #1514 since Swift codegen is not working right now.
Fix would be easy but we need to decide whether we want to use 3rd party library for JSON serialization.
On Dec 14, 2016, at 7:26 AM, janyou notifications@github.com wrote:
@ewanmellor https://github.com/ewanmellor @hanjoes https://github.com/hanjoes @jeffreyguenther https://github.com/jeffreyguenther
I'm going to be very busy the next few months. I hope you take over the support of Swift target.
If you have any questions, you can send mail to me.
(#1439 https://github.com/antlr/antlr4/issues/1439 hasn't been solved yet)—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/antlr/antlr4/issues/1482#issuecomment-267062715, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGhxyG99RkX_EJ66Ok3h0KR8LEmEbusks5rIAqQgaJpZM4LJxKQ.
@ewanmellor @hanjoes So should i change doc to say "download the repo and look in runtime/Swift"?
@antlr/antlr-targets Any showstoppers or can I release?
Currently appveyor fails on C++ but linux/mac work. says:
...
CMake Error at CMakeLists.txt:101 (message):
Your C++ compiler does not support C++11.
can't compile antlr cpp runtime
C++ runtime build succeeded
ln: failed to create symbolic link './libantlr4-runtime.so': No such file or directory
In file included from C:\Users\appveyor\AppData\Local\Temp\1\BaseCppTest-main-1481744646888\M.cpp:5:
C:\Users\appveyor\AppData\Local\Temp\1\BaseCppTest-main-1481744646888/M.h:7:10: fatal error: 'antlr4-runtime.h' file not found
#include "antlr4-runtime.h"
^
1 error generated.
...
Any ideas?
@parrt, yes. we cannot bypass the source code. There are a few details people can follow to import the xcodeproj I would like to put into the doc today after work but if you are about to release it we can just do a quick tweak and more details for the doc could come later.
@hanjoes I'll wait til tomorrow. no sweat! I'm stuck doing admin work now for 3 hours anyway. still debugging C++ compile :(
ok!
None here
Envoyé de mon iPhone
Le 15 déc. 2016 à 04:38, Terence Parr notifications@github.com a écrit :
@antlr/antlr-targets Any showstoppers or can I release?
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
@antlr/antlr-targets Whew! I think that I have pulled in all of the PRs and fixed all of the issues for 4.6. I'm going to create the release notes now and deploy to mvn central another snapshot. Let's see if anybody complains before we release. Thanks again for all your hard work people!
@parrt Excellent news! How long does it typically take for the IntelliJ plugin to catch up? I'd like to see 4.6 support there as well (C++ target!)
I hope to get plugin out shortly.
Most helpful comment
@antlr/antlr-targets Whew! I think that I have pulled in all of the PRs and fixed all of the issues for 4.6. I'm going to create the release notes now and deploy to mvn central another snapshot. Let's see if anybody complains before we release. Thanks again for all your hard work people!