I'd create a small web page and then take a screen grab. You'll end up with a bitmap image you can place on a layer. From there you can sample the colours and use them in your design.
If your list looks something like this:
0 0 0
0 0 255
0 255 0
255 0 0
Some clever find/replacing should get you what's needed to create a web page. Depending on the exact characters in the document, you should hopefully be able to get the document into this format. Finding spaces and replacing with ", " should give you this:
0, 0, 0
0, 0, 255
0, 255, 0
255, 0, 0
You could then find the return character, and replace with something like this:
);"> </div> *return character*
<div style="width:100px;height:100px;float:left;background:rgb(
So you end up with:
0, 0, 0);"> </div>
<div style="width:100px;height:100px;float:left;background:rgb(0, 0, 255);"> </div>
<div style="width:100px;height:100px;float:left;background:rgb(0, 255, 0);"> </div>
<div style="width:100px;height:100px;float:left;background:rgb(255, 0, 0)
Which means you just need to add a little bit of HTML to the start and end of the document to have a webpage you can display and screen grab.
<!DOCTYPE html>
<html lang="en-us">
<body>
<div style="width:100px;height:100px;float:left;background:rgb(0, 0, 0);"> </div>
<div style="width:100px;height:100px;float:left;background:rgb(0, 0, 255);"> </div>
<div style="width:100px;height:100px;float:left;background:rgb(0, 255, 0);"> </div>
<div style="width:100px;height:100px;float:left;background:rgb(255, 0, 0);"> </div>
</body>
</html>
Make sure the browser you use displays the colours in a way that matches your raw colour values though. You can test this by checking a few of the colours — see if they match the values you initially entered.
You could even save the find and replace strings and process future files in the same way.
If you really need the result to be a Photoshop swatch file, you might need to enlist a friendly developer to create a small script to build the files you're after.
Another option is scripting Photoshop to automate adding the swatches directly, rather than building a swatch file. The PS-Scripts forum might be a good place to look for help.
http://www.ps-scripts.com/bb/viewtopic.php?t=842