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
April 23, 2007 at 14:03
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