testmycode / tmc-langs

TMC language support framework
2 stars 17 forks source link

Support for rust programming language #12

Open WaDelma opened 8 years ago

WaDelma commented 8 years ago

Support for rust could be added. https://www.rust-lang.org/

jamo commented 8 years ago

I actually like this proposal. I feel like this could make to a really nice project - do you feel like starting to work on adding support for this language?

WaDelma commented 8 years ago

Yeah I would like to start working on it. Not sure how fast it's going progress due other courses. Also this should be probaply split into multiple tasks.

jamo commented 8 years ago

Awesome! I see a few things we need to figure out on the rust side, and a bunch of tasks for the tmc-langs. I have added some of the tasks here. Let's plan this a bit more before creating a bunch of issues and a milestone for this.

Rust:

In Java it takes in a string of different point names, where each point is separated by white space. e.g @Points("124.1 124.2 124.3 124.4 test-point") And in C we have tmc_register_test(s, test_sum, "1 test-point")

I see at least following sub tasks:

jamo commented 8 years ago

@nygrenh @Mession you were creating the C and python support for langs. Did I overlook some tasks; do you have anything to add?

ljleppan commented 8 years ago

Aside from implementing all the methods specified in LanguagePlugin (most likely by extending AbstractLanguagePlugin), the plugin also has to implement a StudentFilePolicy.