uniconproject / unicon Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://www.unicon.org
License: Other
Home Page: http://www.unicon.org
License: Other
I wanted to ask permission of re-using the config/editor/unicon.sublime-syntax
file from this repository to create a derivative work under MIT License.
My goal is to create a full-fledged Sublime Text 4 package for Unicon, and I'd like to use the above file as my starting point and then gradually extend the original syntax file to leverage the new Sublime Text 4 features, as well as adding more package features.
I couldn't find any info about its original author and license, so the only safe assumption is to consider it being under the GNU GPLv2 license governing this repository.
Unfortunately the GPL license(s) don't play out well in the Sublime ecosystem, were the most common license used for packages and assets is the MIT License. Since for my new package I might need to reuse other third party components, the GPL license might lead to license conflict. So, I'm seeking:
config/editor/unicon.sublime-syntax
in an MIT licensed derivate project for an Unicon package for Sublime Text (build >= 4000, aka "Sublime Text 4").In the book and corresponding file book/string.tex, Break(c) and Breakx(c) have the exact same description in table for pattern functions in "Pattern Matching" from "String Processing" chapter. There is a better description of Breakx in appendix A.6 "Pattern Functions". Tempted to patch myself but new here.
It seems there is none at the moment. I suggest adding at least syntax highlighting to CudaText: https://github.com/Alexey-T/CudaText
CudaText is inspired by SublimeText but is more lightweight and available for more platforms.
For unknown reason, my account @juanchiahsing being flagged by github and hidden from the public. I can't see your replies. I created a new ticket to continue our discussion @Jafaral
With the following program hello.icn
:
procedure main()
write("Hello, amigo!")
end
Trying to compile with unicon/iconc produces the following error:
❯ unicon -C hello.icn
Parsing hello.icn: .
Parsing /home/omf/code/icon/unicon/ipl/procs/posix.icn: .........
iconc -U1 -fs -o hello -A /tmp/uni79385330 /tmp/uni86049813-iconc /tmp/uni20299443-iconc
Translating to C:
No errors; no warnings
Compiling and linking C code:
In file included from hello.h:8,
from hello.c:13:
/home/omf/code/icon/unicon/rt/include/rt.h:3091:13: fatal error: ft2build.h: No such file or directory
3091 | #include <ft2build.h>
| ^~~~~~~~~~~~
compilation terminated.
*** C compile and link failed ***
The issue appears to be that ft2build.h
is installed in /usr/include/freetype2
but gcc needs to be explicitly told about it. If I explicitly pass the include path it works:
❯ iconc -p '-I/usr/include/freetype2' hello.icn
Translating to C:
hello.icn:
No errors; no warnings
Compiling and linking C code:
Succeeded
I did a quick search and didn't see any other issues mentioning this, so perhaps it's a misconfiguration on my Pop!_OS (Ubuntu-based) system. Any advice would be appreciated.
Title.
I was able to get this to build on MacOS Monterey which is great but the make install
does not properly install everything
╰─➤ /usr/local/bin/unicon
[1] 27520 killed /usr/local/bin/unicon
╰─➤ /usr/local/bin/iyacc
usage: /usr/local/bin/iyacc [--help] [-d[d]] [-ilrtv] [-p symbol_prefix] filename
╰─➤ /usr/local/bin/unidep
[1] 27595 killed /usr/local/bin/unidep
looking at the /usr/local/bin
directory also shows that not every binary was put in there.
╰─➤ ls /usr/local/bin
-rwxr-xr-x 1 root wheel 332K May 15 20:54 iconc
-rwxr-xr-x 1 root wheel 169K May 15 20:54 icont
-rwxr-xr-x 1 root wheel 687K May 15 20:54 iconx
-rwxr-xr-x 1 root wheel 153K May 15 20:54 iyacc
-rwxr-xr-x 1 root wheel 50K May 15 20:54 patchstr
-rwxr-xr-x 1 root wheel 258K May 15 20:54 udb
-rwxr-xr-x 1 root wheel 205K May 15 20:54 unicon
-rwxr-xr-x 1 root wheel 134K May 15 20:54 unidep
-rwxr-xr-x 1 root wheel 289K May 15 20:54 unidoc
-rwxr-xr-x 1 root wheel 74K May 15 20:54 uprof
╰─➤ ll ~/git/github/unicon/bin
total 7928
-rwxr-xr-x 1 dank staff 332K May 15 20:53 iconc
-rwxr-xr-x 1 dank staff 169K May 15 20:52 icont
-rwxr-xr-x 1 dank staff 687K May 15 20:52 iconx
-rwxr-xr-x 1 dank staff 48K May 15 20:54 ie
-rwxr-xr-x 1 dank staff 899K May 15 20:54 ivibmigrate
-rwxr-xr-x 1 dank staff 153K May 15 20:52 iyacc
-rwxr-xr-x 1 dank staff 36K May 15 20:53 libcfunc.so
-rwxr-xr-x 1 dank staff 50K May 15 20:52 patchstr
-rwxr-xr-x 1 dank staff 258K May 15 20:54 udb
-rwxr-xr-x 1 dank staff 309K May 15 20:54 uflex
-rwxr-xr-x 1 dank staff 38K May 15 20:54 umake
-rwxr-xr-x 1 dank staff 205K May 15 20:53 unicon
-rwxr-xr-x 1 dank staff 134K May 15 20:54 unidep
-rwxr-xr-x 1 dank staff 289K May 15 20:54 unidoc
-rwxr-xr-x 1 dank staff 74K May 15 20:54 uprof
-rwxr-xr-x 1 dank staff 250K May 15 20:52 urtt
I added the compiled source code bin in my path I can call all the binaries without issue. Figured I'd like y'all know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.