Giter Club home page Giter Club logo

unicon's People

Contributors

brucerennie avatar cjeffery avatar davidgamey avatar don-ward avatar gkzyoung avatar jafaral avatar jschnet avatar lgtm-migrator avatar matthewclane avatar mj10111 avatar mstow597 avatar mstreeter10 avatar pytholas avatar shnewto avatar stephenwampler avatar tajmone avatar zasharif avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unicon's Issues

Permission to Reuse the Sublime Text Syntax in an MIT-Licensed Project

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:

  1. Permission to reuse config/editor/unicon.sublime-syntax in an MIT licensed derivate project for an Unicon package for Sublime Text (build >= 4000, aka "Sublime Text 4").
  2. Info about the original author(s) so I can duly credit him/her/them in my package/repository.

MSYS2 support

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

unicon/iconc can't find ft2build.h when compiling

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.

make install fails on MacOS Monterey but it does build and work properly

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.

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.