Coder Social home page Coder Social logo

source highlighting about wren HOT 16 CLOSED

wren-lang avatar wren-lang commented on May 10, 2024
source highlighting

from wren.

Comments (16)

kmarekspartz avatar kmarekspartz commented on May 10, 2024

Alternatively, make it an official GitHub language: https://github.com/github/linguist

from wren.

torwart avatar torwart commented on May 10, 2024

@zeckalpha 👍 never have seen this

from wren.

lluchs avatar lluchs commented on May 10, 2024

I've created a simple syntax definition for vim: https://github.com/lluchs/vim-wren

The only special thing it does right now is highlighting method definitions: code snippet

from wren.

torwart avatar torwart commented on May 10, 2024

@lluchs
Looks very nice. I also currently work on a Syntax definition for Sublime Text. But the highlighting on GitHub would be better, currently it looks bad and only like rich text.

from wren.

munificent avatar munificent commented on May 10, 2024

Highlighting them as Dart is a total hack. I picked it because Dart has C-based syntax and a var keyword. Scala works pretty well too. At some point, though, real syntax highlighting for the various editors and stuff would be great.

That Vim one looks nice, @lluchs!

from wren.

brandly avatar brandly commented on May 10, 2024

In /github/linguist, it says

In most cases we prefer that each new file extension be in use in hundreds of repositories before supporting them in Linguist.

is there an index of programs written in Wren? Could we use the project wiki for this?

(mostly I just want to see more Wren examples)

from wren.

munificent avatar munificent commented on May 10, 2024

is there an index of programs written in Wren?

Not that I know of.

Could we use the project wiki for this?

I like the idea of documenting this, but I think the wiki probably isn't the best place. GitHub doesn't (as far as I know) have any support for pull requests for wiki pages, so those (despite the name) are harder to contribute to than regular files in the repo.

Since the rest of the docs are under doc/, how about we just start adding more projects to doc/community.md?

from wren.

bjorn avatar bjorn commented on May 10, 2024

GitHub doesn't (as far as I know) have any support for pull requests for wiki pages, so those (despite the name) are harder to contribute to than regular files in the repo.

Well, of course since wiki's can be edited by anyone, there is no real need for a pull request mechanism. But it does make edits more cumbersome to review. I see Wren has an empty wiki at the moment, and I'd just thought I'd mention that it can be disabled entirely in the repo settings when not wanted.

from wren.

munificent avatar munificent commented on May 10, 2024

Well, of course since wiki's can be edited by anyone

Oh, wow. I had no idea GitHub wikis were as permissive as Wikipedia. In that case, yeah, maybe we should use a wiki for a list of community Wren projects. Go for it.

from wren.

brandly avatar brandly commented on May 10, 2024

Hey, Bob! I put up a small list of programs I know of. I'm probably leaving some out.

from wren.

bjorn avatar bjorn commented on May 10, 2024

@brandly Hmm, actually none of those are programs, they're all libraries. These things are already mentioned at https://munificent.github.io/wren/community.html. Maybe some of them should be added there.

from wren.

munificent avatar munificent commented on May 10, 2024

Hopefully, the list of libraries will change pretty frequently, so maybe we should just yank them out of the community page and make that page link to the wiki?

from wren.

brandly avatar brandly commented on May 10, 2024

@bjorn I was thinking of "libraries" as a subset of "programs," but I'm probably wrong.

@munificent that's what I had in mind, but I haven't done anything about it yet :D

from wren.

horv avatar horv commented on May 10, 2024

Hi,
very (very...) simple syntax definition for Atom: language-wren.

from wren.

munificent avatar munificent commented on May 10, 2024

Awesome!

from wren.

munificent avatar munificent commented on May 10, 2024

I'm gonna go ahead and close this out since it looks like the wiki has a handful of editor integrations listed.

from wren.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.