Comments (10)
Is this already a thing @kirb?
from logos.
No, and I'm not entirely sure how to go about this because it would break code that already has its own definition of the @interface. Maybe one day we'll get into semantic versioning so we can make breaking changes like this one (#111).
from logos.
If Logos could detect that (to wit: become an actual objc parser), we could
use the user-provided class type or generate one as necessary.
On Feb 14, 2016 12:46 AM, "Adam Demasi" [email protected] wrote:
No, and I'm not entirely sure how to go about this because it would break
code that already has its own definition of the @interface. Maybe one day
we'll get into semantic versioning so we can make breaking changes like
this one (#111).On Sun, 14 Feb 2016 at 14:07, alucard0134 [email protected]
wrote:Is this already a thing @kirb https://github.com/kirb?
—
Reply to this email directly or view it on GitHub
https://github.com/theos/theos/issues/100#issuecomment-183815426.Adam Demasi
HASHBANG Productions
hbang.com.au—
Reply to this email directly or view it on GitHub
https://github.com/theos/theos/issues/100#issuecomment-183853098.
from logos.
I'm a bit reluctant on really changing Logos much because I'm considering whether it could be replaced by @eswick's Logos-ish clang preprocessor (also, I'm terrible at Perl). Of course that introduces the need to compile code, and quite a lot of code at that. (Will make another issue for this)
(Edit: Lesson learned: email response does not parse Markdown 👎)
from logos.
Problem there is, it hasn't kept up with Clang as it's changed. I'm worried
that it ties people to whatever arbitrary version of whatever random
compiler they built when they got Theos.
On Feb 14, 2016 12:55 AM, "Adam Demasi" [email protected] wrote:
I'm a bit reluctant on really changing Logos much because I'm considering
whether it could be replaced by @eswick's Logos-ish clang preprocessor (also, I'm terrible at Perl). Of
course that introduces the need to compile code, and quite a lot of code at
that. (Will make another issue for this)On Sun, 14 Feb 2016 at 19:18, Dustin L. Howett [email protected]
wrote:If Logos could detect that (to wit: become an actual objc parser), we
could
use the user-provided class type or generate one as necessary.
On Feb 14, 2016 12:46 AM, "Adam Demasi" [email protected]
wrote:No, and I'm not entirely sure how to go about this because it would
break
code that already has its own definition of the @interface. Maybe one
day
we'll get into semantic versioning so we can make breaking changes like
this one (#111).On Sun, 14 Feb 2016 at 14:07, alucard0134 [email protected]
wrote:Is this already a thing @kirb https://github.com/kirb?
—
Reply to this email directly or view it on GitHub
https://github.com/theos/theos/issues/100#issuecomment-183815426.Adam Demasi
HASHBANG Productions
hbang.com.au—
Reply to this email directly or view it on GitHub
https://github.com/theos/theos/issues/100#issuecomment-183853098.—
Reply to this email directly or view it on GitHub
https://github.com/theos/theos/issues/100#issuecomment-183853280.Adam Demasi
HASHBANG Productions
hbang.com.au—
Reply to this email directly or view it on GitHub
https://github.com/theos/theos/issues/100#issuecomment-183855051.
from logos.
He also has a conflict of interest (recent Apple internship) so it may be infeasible anyway from a maintenance standpoint unless someone else can take over.
from logos.
I recconend sticking with Perl. With Clang, we'd have to update code for every new version. Like you said, I have an internship at Apple and don't have the time nor the will to keep it updated.
from logos.
Um I know this isn't the place but have you guys ever though of making a way to de-initlize groups?
from logos.
@andrewwiik: It isn't possible to implement that in a safe way with all of the behaviours that developers expect. Instead, it can be done in the tweak itself: always call %init()
at startup and check a shouldPlayDead
variable in the method hooks.
from logos.
Please create a new issue in future or get in touch on IRC or Twitter rather than hijacking an existing thread, @andrewwiik.
from logos.
Related Issues (20)
- Nullability specifiers not supported in %subclass methods
- Cannot find module ' ./logo.svg' or its corresponding type declarations. HOT 2
- Logos failes to hook NSBundle.bundleIdentifier on iOS 16 HOT 2
- Mixing `}` with `'` results in a false positive missing closure [Beeper] HOT 1
- Request: dot in class name support for %c HOT 4
- `super` in %subclass is dodgy HOT 1
- Nullability specifiers not supported in %property HOT 3
- Add [super ...] calls
- Logos compilation error if multiline comment has //
- Regression in %hookf HOT 4
- Issue when using %property to add NSMutableArray with specified item type HOT 2
- %property crashes when no parameters set HOT 8
- Line comments are incorrectly handled within block comments HOT 2
- Logos produces bad output without newline after imports HOT 1
- %config(generator=Internal) does not work but using `internal` does HOT 1
- [logos] preprocess could not handle comment outed braces correctly. HOT 2
- [Bug]: space/newline in %init causes issues HOT 1
- iOSOpenDev compiles with logos.pl in Xcode 14.1 RC2 with numerous deprecation warnings HOT 2
- Logos fails to parse code with curly braces inside of character literals
- Logos ignores end of block comment if line contains a `//` before block comment terminator HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logos.