You are not logged in.
Pages: 1
Check out unfold-code at https://github.com/ffunenga/unfold-code
(License: LGPLv3) btw, is it a good license?
This command-line tool, developed in C, that converts folded code into unfolded code.
unfolded code stands for text written in a programming language that uses:
semicolons to separate statements
brackets to enclose statement blocks
folded code is an equivalent form of the previous where:
statements are separated by newlines with the same indentation
statement blocks are enclosed by increments/decrements in indentation
Programming languages like ["C", "Vala", "Java", "Objective-C", "C#"] are considered unfolded. On the other hand, "Python" and "ABC" are considered a folded programming language.
Check out the function main in example 2 [1]. In 11 lines you can get a simple window in gtk. Beautiful!
Anyone has a better suggestion to characterize the two types of programing languange? (folded / unfolded?)
Here is a presentation about the project [2].
[1] https://github.com/ffunenga/unfold-code … example2.c
[2] http://dl.dropbox.com/u/733703/unfold-code.pdf
Last edited by DeletedUser201222 (2013-03-29 19:43:00)
Offline
Pages: 1