eric-j-ason
eric-j-ason
A kind of workaround would be to have a way to skip the branch details, and just go to the main page of the repository (`http://git.server/orga/repo`), since that tends to...
And in nano, of course, included in OpenWrt!
A [pull request](https://github.com/alecthomas/chroma/pull/879) for introducing ucode in Chroma has been created.
> @eric-j-ason - I suggest to use the nano highlighting I submitted in the other PR as authoritative source for the supported syntax keywords. > > See also https://github.com/jow-/ucode/blob/master/lexer.c#L47 Yes,...
> I added a pull request to include syntax highlighting in OpenWrt's nano package: [openwrt/packages#22623](https://github.com/openwrt/packages/pull/22623) I have noticed that these highlighting rules assume that the file is a template, and...
Here is an example: ``` #!/usr/bin/env ucode print("Hello, world!\n"); ``` An example [in the wild](https://github.com/openwrt/openwrt/blob/d4a40827baf010763a1bf60a6435a5ca7da7ea62/package/network/config/wifi-scripts/files/usr/share/hostap/wdev.uc) looks like this:
> This should fix it: A quick test indicates that this works. At least keywords and strings get highlighted.
> Question is how to package it (ucode-stdlib?) and how to organize the "classes" within that library, e.g. whether to use python style short names (math, itertools, array, ...) or...
> Example from the official documentation: https://docs.oracle.com/javase/7/docs/api/index.html Got it. So, more levels, I take it. Personally, I don't have a strong opinion one way or the other.
I added the functions `product`, `prettyprint` and `prettyprintln`.