Giter Club home page Giter Club logo

csyntax.jl's People

Contributors

gnimuc avatar juliatagbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

csyntax.jl's Issues

Questions and comment

Hi,

First I want to say you're doing awesome work, elsewhere, and with this package, at least partially, as it puzzles me.

It seems needed/useful some of it e.g. for static, but I'm thinking is there a good usecase for some of the C for syntax, such as its"for"? Are you just aiming for some completeness? To me it seems like inferior syntax to what Julia has (I like how Julia's for at least can be neutral, work for 1-based and 0-based arrays), so I'm conflicted about this part of the package, in case people might adopt.

I went looking for who uses the package and besides you only one public user @IanButterworthIan's which may be depending on it needlessly: https://github.com/IanButterworth/SpinnakerGUI.jl/blob/dea3b0adef3dbe53da32219470807082a94d8279/Project.toml#L7

Installing it I get lots of downgrades:

  [4af54fe1] - LazyArtifacts
[..]
  [91a5bcdd] ↑ Plots v0.29.9 ⇒ v1.15.2
  [c3e4b0f8] ↓ Pluto v0.14.5 ⇒ v0.14.2
  [f27b6e38] - Polynomials v0.6.1
[..]
  [f269a46b] ↓ TimeZones v1.5.5 ⇒ v1.5.4

I know why such happens, that's not the question in this case, I get when then installing your package (only) one upgrade:

  [ea656a56] + CSyntax v0.4.0
  [3f19e933] ~ p7zip_jll v16.2.1+1 ⇒ 
    Updating `~/.julia/environments/v1.6/Manifest.toml`
  [f269a46b] ↑ TimeZones v1.5.4 ⇒ v1.5.5
  [0dad84c5] ~ ArgTools v1.1.1 ⇒ 
  [f43a241f] ~ Downloads v1.5.0 ⇒ 
  [4af54fe1] + LazyArtifacts
[..]

I'm puzzled why it fixed back TimeZones, might have to how to do with LazyArtifacts, but as your package only depends on neither, only CEnum, and it on none, it's a mystery.

In his package I can't even seen it used, only indirectly (if that?):

using CImGui
using CImGui.CSyntax
[..]
using CImGui.CSyntax.CStatic

I thought of making a PR there to drop these lines and the dependency, but it seems to not slow down except at most to a tiny degree.

Is your package mainly a proof-of-concept (like PythonSyntax.jl) or an exercise for you?

Your package is probably going to be used mostly for porting C code, or C interop, and C "for" may slightly help for the former. I see you have "C2Julia.jl" now archived. A transpiler may be valuable and slightly simpler with this package.

FYI (one of packages, that may overlap with your usecase):
https://github.com/analytech-solutions/CBinding.jl

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.