Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

Logos

< >

Logos is a programming language created in 2010.

#562on PLDB 14Years Old 6kRepos

Logos is a component of the Theos development suite that allows method hooking code to be written easily and clearly, using a set of special preprocessor directives. Theos is a cross-platform suite of development tools for managing, developing, and deploying iOS software without the use of Xcode. It is an important tool for people building extensions (tweaks) for jailbroken iOS; most extension developers use Theos.


Example from the web:
%group iOS8 %hook IOS8_SPECIFIC_CLASS // your code here %end // end hook %end // end group ios8 %group iOS9 %hook IOS9_SPECIFIC_CLASS // your code here %end // end hook %end // end group ios9 %ctor { if (kCFCoreFoundationVersionNumber > 1200) { %init(iOS9); } else { %init(iOS8); } }
Example from Linguist:
# APPLE LOCAL file string workaround 4943900 if { [istarget "*-*-darwin\[9123\]*"] } { set additional_flags "-framework Foundation -fconstant-cfstrings" } return 0

Language features

Feature Supported Example Token
Comments
// A comment
Line Comments
// A comment
//
Semantic Indentation X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll