Skip to content

Instantly share code, notes, and snippets.

@oyeb
Created March 19, 2017 14:41
Show Gist options
  • Save oyeb/cdbe9a388b2775ea4ef449cff204da7f to your computer and use it in GitHub Desktop.
Save oyeb/cdbe9a388b2775ea4ef449cff204da7f to your computer and use it in GitHub Desktop.
Beginner projects

Potential projects Sem 2 onwards

HTML, js projects are good, as UI is easily created. CBSE now focuses on Java in +2 curriculum. So Java based implementation is also fine. But I really can't think of a project that requires Java.

1. Vim and Shell scripts

Will help in C Programming course, but is hard. People who have no problem in feeling frustrated or late night SO surfing are welcome. Make a shell script that helps in reducing keystrokes in the Lab, automates and speeds up the workflow of:

  • Open -> Save -> Close

  • Compile

    • OnFail -> ShowError -> OpenEditor_again
    • OnSuccess -> RunProgram -> (re_run_program)* -> OpenEditor(with same file or new)
  • No more navigating command history. Just enter lab, enter into this script's session and that's it. Race to finish the lab in record time.

@oyeb
Copy link
Author

oyeb commented Mar 19, 2017

Leave a thumbs up if you saw the grammar description. Can we write something like bison for this grammar, it will take grammar description, and provide us the shell script?

@vasanthaganeshk
Copy link

I cannot understand the usefulness of this project. I think it would make more sense to open two terminals (and then Alt-Tab), one to run your code and one to use vim. If it were emacs, we can do all sorts of nonsense with emacs though! The better thing to do would be to configure .vimrc to have some shortcuts to compile and run the program. The best thing would be to do it the vim way as done here. We should teach people to use this.

A new compiler that will take in some commands (probably a new language) and generate shell scripts!!! That is scary! People who have to use this new language will have to learn it, I guess they would be better off learning their way around bash.

@oyeb
Copy link
Author

oyeb commented Mar 20, 2017

I just couldn't think of a relevant shell scripting project for 1st years. The only use is the learning that can come out of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment