Dijkstra’s shortest path in momo!

Well, I’ve been coding for some hours now, fiddling around with implementing Dijkstra’s shortest path algorithm in momo.

I like it as it is right now, but due to our unfinished compiler, I can’t promise that it does’t contain errors :)

Also, I think we need a long talk about reference vs value representation of all of our types.

Check out the implementation here: ShortestPath.momo

Explore posts in the same categories: Languages & Compilers

One Comment on “Dijkstra’s shortest path in momo!”

  1. markfoged Says:

    I already spotted an error in the mainscope, but anyway…

    The implementation can also be found on the SVN in the Debugfolder of our compiler :)


Comment:

You must be logged in to post a comment.