1

Where can I find a data set with large set of relatively small (<500 LOC) computer programs. Programs should be consistent in language used. can be written in any one language (Javascript preferable).

I do not want large project code bases. Aim is to find small independent programs.

1

Have you tried Github.com? There are millions of lines of code from different programs of varying lengths. Github also has an API.

  • I tried that some time back. But according to API what I can get is large set of .js files from project repositories. But it gets hard to sort out dependencies and to extract independent files out of it. Any ideas ? – Zack Aug 16 '17 at 13:45
  • 1
    Code contests would be an option, but for javascript there may be not so many options compared to python. See here for more details opendata.stackexchange.com/a/1868/1511 – philshem Aug 18 '17 at 11:13
  • @Zack, probably Github Gists are slightly more suitable. – Stanislav Kralin Sep 14 '17 at 19:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.