laby icon indicating copy to clipboard operation
laby copied to clipboard

feat: add Dart mod

Open devhammed opened this issue 4 years ago • 2 comments

Kazam_screencast_00000 mp4

This pull request adds support for Dart.

devhammed avatar May 01 '20 10:05 devhammed

I don't know much about Dart, but would it not be possible to have a main() function in the robot.dart file that calls start() and a laby_name_ant() that is defined in the skel file like it was done in C (and other languages)?

sgimenez avatar May 13 '20 10:05 sgimenez

@sgimenez I have updated the mod structure to match your specifications but it requires creating an empty program.dart file in the lib folder to bypass the Dart's compiler function is not defined: laby_name_ant error while developing.

Screenshot from 2020-05-13 15-50-14

PS: I still think my former structure is more compact because it does not require hacks.

devhammed avatar May 13 '20 14:05 devhammed