-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Add 1C (BSL) language support #2773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks for the pull request! |
P.S. Colourful example from github-lightshow.herokuapp.com |
I counted the number of users and repositories for both file extensions:
Despite the large number of |
There are two things about
|
First, I'm not from GitHub, so I won't be making any decision here ;) Second, while I understand your arguments, there has to be some minimum requirements to add new languages. Linguist has its own limits, in terms of maintainability, memory usage and performance.
This makes me think we could wait a few months for |
Agreed. @nixel2007 - I'm afraid the level of adoption here is too low to be added to Linguist right now. I suggest revisiting this in a few months time. |
@pchaigno can you share a script, which downloads repos, please? i want to check the numbers periodicaly. |
Raise discussion. what we have for now:
we have a deadlock ;-) Thats why many 1C programmers use there own GitLab and Gogs Servers at this point we have to make the mirroring of our repository into an internal gitlab server for code review's, but it's somehow strange @arfon can you can add language support in order to popularize GitHub for 1C ? |
without much hope I shall ask - any news ? @nixel2007 may be we need a new pull request ? currently we have 99 users with 179 repositories BSL - 114 repos based on our nigth search https://github.com/allustin/awesome-1c/tree/master/data @arfon it is enough to prove the usefulness ? P.S. the worst thing that I can not normally promote Enterprise version for large corporations in Russia... |
I can rebase a PR and add some heuristic, if @arfon gives me a green light |
With my GitHub staff privileges, I'm able to get broad statistics for file extensions on private repos too (I'm not able to view individual files/repos of course) and it looks like there's an order of magnitude more I think we should add BSL at this point. @nixel2007 - would you be able to update this PR with the latest changes from |
172affe
to
f6cc1c0
Compare
@arfon i've rebased and squashed my commits on current Travis reports all green. Is current version OK for you? P.S. I've added licence file manualy cause i can't figure how to run script/licensed without closed source gem :) /cc @allustin |
@nixel2007 Thanks for your patience and the quick rebase ⚡ |
@pchaigno done. |
Uh, wait. There's no conflict on these extensions so we won't need heuristic rules (all |
@pchaigno i've added a heurestic because there are a lot |
Not unless we can identify what is their language and add support for it. Linguist doesn't have a default or not-a-language option. |
@pchaigno should i add an |
or we can just leave it as is and add those languages in future |
We should probably remove this completely. |
@arfon done |
👍 thanks for this @nixel2007! This will be live with the next release of Linguist (next week sometime) |
Hi there!
I would like to add 1C:Enterprise 8 (BSL) language.
1C:Enterprise is a very commonly used platform for automating a company’s financial and wider operational activities in CIS.
Official site (english version): http://1c-dn.com/1c_enterprise/what_is_1c_enterprise/
Russian version: http://v8.1c.ru/
As a grammar i used this Atom package developed by me as a part of xDrivenDevelopment community.
1C:Enterprise uses many file extensions. The main ones are
.bsl
for modules and.xml
for metadata and config-stuff (actually it's an XML files). Those extensions were introdused this autumn, so it's not so much search results (so far) link, but the number of repos will grow fast..os
extenstion used by external scripts written in 1C (BSL) language as part ofOneScript
project (no english link, sorry. russian one).Samples are included for bsl and os.