GO PROGRAMMING TIP: Where to put the ‘go.pbfilespec’ and ‘go.xclangspec’ files.
So I was trying to get XCode syntax highlighting support for Google’s new Go language. I had located the two XCode files in the Go SRC package (these were in $GOROOT/misc/xcode), but for the longest time I couldn’t figure out where to put them. I finally stumbled on the answer (thanks to Talamathi for putting me on the right track): The files go in /Developer/Library/PrivateFrameworks/XcodeEdit.framework/Versions/A/Resources/
CODE: A ‘Go’ Linked List Implementation
So I’ve been experimenting with Google’s Go programming language. So far I’m liking it quite a bit. Here’s a rudimentary implementation of a Stack I made using a Linked List. As you can see, I’ve defined two interfaces — one for the Linked List functionality and one for the Stack functionality — but I haven’t implemented either fully. There’s also a main() function thrown in to demonstrate the functionality. Right now the Linked List only stores integers, but this could be changed very easily.
