Skip to content

flyinactor91/Photorg

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 28, 2013 18:45
March 28, 2013 19:06
March 28, 2013 18:45
March 28, 2013 18:45
March 28, 2013 18:45
Photorg Programming Language
Created by Michael duPont (flyinactor91@gmail.com)
v1.0.0 [5 012 2012]
Python 2.7.3 - Unix



Usage: ./photorg.py (file-name.ptg) (debug [False]/True)
File call without filename and debug boolean launches user prompt
Filename must have the .ptg extention
Debug boolean turns debug on and overrides in-line changes. False by default
Photo-specific functions support: .jpg .jpeg .png .gif .tiff



Quick Photorg 1.0.0 Language Useage Guide

(...) indicates text optional
[...] indicates text required


separate [folderName] [exifName:exifValue] ([exifName:exifValue]...)
    Runs through current directory and copies photos that match all
    the given criteria into a new folder in the current directory

showexif [fileName]         Lists all exif data for a photo
listphotos                  Lists all photos in current directory
setdir [this/folderPath]    Set photo directory
getdir                      Returns current photo directory

for [varName] in [endNum/startNum..endNum] (by [skipNum]):[statement](;[statement]...)
    Structure of a for-loop
    Supports inner loops with one statement
    All other statements are considdered part of the outer loop

+ - * / ** % ( )            All basic math functions supported
[varName] = [varValue]      Assign a value to a variable
delete [varName]            Remove the variable and value
type [varName]              Check the type of a variable
// (Text)                   Comment out a line
print (Text and $var$)      Output a line to the console
println (number)            Output (number) of empty lines
debug [on/off]              Turn the debugger on or off
quit                        Exit the interactive prompt

About

A custom programming language to organize photos using EXIF data - built on Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages