Giter Site home page Giter Site logo

michaelsheely / succinct-scheduling Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 0.0 1.95 MB

Allows users to describe their schedules succinctly and precisely.

Home Page: https://docs.google.com/presentation/d/15cXqbdMACc6h0bOwM4oSEsZwDP40DYYijUaME6G5kMo/edit?usp=sharing

Rust 100.00%

succinct-scheduling's Introduction

succinct-scheduling

A DSL which allows users to describe their schedules succinctly and precisely.

By Michael Sheely

How To Use Succinct Scheduler

In this git repository, you will find two files within the executables directory.

The leader will need the leader file. They should ask everyone involved in the event to either send them their schedule in a text file formatted according to the schema described below or to send them an exported calendar (it should have a .ics extension).

The users who opt to write up a text file can ensure they have the correct format by running parse_file in the same directory as the text file containing their schedule and either type the name when prompted or give it on the command line as an argument.

If they correctly formatted their text file, the parse_file program should print out the schedule of the user, which they can verify was entered without error.

Once all users have verified their own schedule or exported a .ics calendar document, they can send these documents to the organized. This leader will put all of the text files, the calendar documents, and the leader executable itself in the same directory somewhere on their machine and then run ./leader from that directory.

They should follow the prompts and then the language should find the times when the most individuals are free within the leader's specified time range.

Example Program

Here we provide some example programs designed to demonstrate the possible options for syntax of the language:

A file schedule.txt shown below:

Monday, Tuesday:
  free 10am, 1pm
  free(2pm, 3pm)
Mon:
  free 1pm - 5pm

Another schedule file, schedule2.txt shown below:

M, T:
  free  1pm - 2pm
  free 4pm, 5pm except 12/5/16
wed:
  free 11am - 2pm

Note the varied sytnax, capitalization, etc. This will compile and function.

succinct-scheduling's People

Contributors

michaelsheely avatar

Stargazers

A ghost. avatar

Watchers

James Cloos avatar  avatar Julien Chien avatar Samantha Andow avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.