Comments (15)
Is there any plans to open-source COBOL control flow? It would really help developers to contribute on top of this by doing repo level graphs, etc.
from cobol-control-flow.
I'm too old school. I do read announcements on blogs and subscribe to GH releases, but I don't use slack.
from cobol-control-flow.
I second that, but have to note that this is a follow-up to the closed issue #8.
We came to the conclusion that for the time being, we won't open-source this project.
Note: antlr4ts-cli is BSD-3, too.
And for the 4 BSD-3 clause dependencies which state:
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
@zimlu02 may wants to check if this is the case currently - as we only have the binary redistribution this notice should actually be part of the README (I think that's what one would count as "in the documentation and/or other materials").
from cobol-control-flow.
Thank you for your notice.
We have listed antlr4ts Copyright (c) 2016 The ANTLR Project in the LICENSE.md file which contains BSD-3 clause.
Does this address your concern?
Open-sourcing of this project is still under consideration, even though we have closed the previous issue.
Thank you for your interest!
from cobol-control-flow.
At least from the list above (haven't verified that) sinon and d3 are also included in the binary distribution and so far not listed, you may want to recheck that. I did verify that LICENSE.md is also part of the distribution, I'm just not sure if "include a file" counts (I'd guess it does).
from cobol-control-flow.
Hi @OlegKunitsyn - Did you look at this open source project: https://github.com/eclipse/che-che4z-lsp-for-cobol?
The lexer and grammar are open sourced as part of that project, and that can be the basis for any additional tools around Enterprise COBOL eco-system.
This project uses the COBOL LSP as the base, and provides additional functionality, but the actual grammar, lexer, parser are already open sourced via the LSP editor. So I would be curious to know if that would satisfy the need that you are looking for?
from cobol-control-flow.
Of course, I've checked LSP sources (as well as https://github.com/antlr/grammars-v4/) and found
- CobolLexer.g4 copyrighted by Broadcom
- CobolParser.g4 copyrighted by @uwol (https://github.com/uwol/proleap-cobol-parser), without attribution
- these ANTLR files can not be compiled to valid TS without modifications.
Can you upload actual CobolLexer.g4, CobolParser.g4 and /src/extension/antlr-auto-generated files?
This step would help fix LSP base, reward the authors and inspire development of COBOL tools (not only Enterprise ones).
Don't be evil like modern Google. :)
from cobol-control-flow.
@OlegKunitsyn - the intent for open sourcing the COBOL LSP project was indeed to promote/build the eco-system :). With that said, having a good understanding of the use cases or needs would help us do the right thing. This is a great conversation, and we will look into your request, and get back to you.
Our intent and focus is on IBM Enterprise COBOL, and we will do the right thing to enable, and build that eco-system.
from cobol-control-flow.
@OlegKunitsyn we have updated the license in the new version.
Thank you for your notice.
from cobol-control-flow.
Hello @sundar-sarvam . At the moment we do not plan to open source CCF. But it would help us to understand what are the things you are interested in from the CCF perspective to have a discussion about it.
Which part of CCF is interesting for you and in case we would open source it are you interested in contributing to it?
- the analysis of paragraph relationships
- the ui for drawing paragraph relationships
- the javascript runtime based COBOL parser (runs in node or a browser, does not require JAVA)
from cobol-control-flow.
All of the three are pretty good contributions, with the order being 3>1>2. I can't guarantee I will be able to contribute but will surely discuss with my team and see how can we add value to CCF but we would love to use it ourselves and tinker with it for now.
from cobol-control-flow.
Thank you for the clarification I will take it back for a discussion. Even though the extension is not open source at the moment, it is freely available from the VS Code Marketplace and from the Open VSX. You can tinker with it and let us know what you think. And if you find any issues feel free to report them.
from cobol-control-flow.
The important things for the parser are covered in https://github.com/BroadcomMFD/cobol-control-flow/milestone/5 (along with dialect support which for example would also allow to use this extension on free-format source).
One thing that is likely in the "analysis" parts is #6.
Coming to think of this: if you'd make 1+2 available here and move the java parser into a separate extension and make this a dependency of this extension (isn't this the case with the Broadcom COBOL extension already?) then people contribute at least to 1+2.
from cobol-control-flow.
True @GitMensch. Contributing to CALL statements can be done once when the CCF is open-sourced. @VitGottwald I have been using CCF for sometime from VSC and I love it absolutely. I like to see a lot of feature additions which are currently missing like CALL maps, etc. which the open-source community will help with if CCF is open-sourced. Please consider the overwhelming request.
from cobol-control-flow.
Thank you for the input @sundar-sarvam and @GitMensch . I suggest you join our Code4z Slack where you can watch for latest announcements. You can also get in direct touch with us there. Should you choose to join the Code4z Slack, please, ping me there.
from cobol-control-flow.
Related Issues (20)
- Flow is generated but not for all HOT 2
- Failed to load active editor HOT 2
- Consider EXEC CICS RETURN as end of program HOT 2
- Support for nested program HOT 1
- CCF issue with Gen/Cobol HOT 2
- Always try to generate a graph regardless the file extension HOT 1
- One program section is not displayed HOT 1
- "exit section" is a statement, not a section label HOT 2
- Disable CCF graph generation for single copybook files HOT 1
- support EXEC CICS HANDLE AID
- EXIT SECTION causes graph to end instead of continue. HOT 1
- Differing Graph based on SECTION HOT 2
- Unreachable Code is still graphed HOT 4
- Support 'GOBACK' statement HOT 2
- Support for "exit paragraph" statement HOT 2
- Support for a Ligth Theme in CCF
- Export CCF Graph to JSON - Missing menu? HOT 1
- Allow to exclude certain elements from the graph HOT 4
- Forced installation of COBOL Language Support by COBOL Control Flow HOT 3
- EXEC CICS HANDLE does not reflected in the graph
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 cobol-control-flow.