Questions Columns Rows
GitHub icon


Logos - Programming language

< >

Logos is a programming language created in 2010.

#1028on PLDB 13Years 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 Token Example
// A comment
Line Comments //
// A comment
Semantic Indentation X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Stats · Sponsor · Traffic · Traffic Today · Day 278 · · Logout