digitalmars.D.announce - Programming language made in D!
- Harpo (8/8) Apr 09 2014 Hello. Here is a programming language that is coded in D. The
- Walter Bright (3/9) Apr 09 2014 A link to some design documentation would be appreciated, rather than ju...
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (7/8) Apr 09 2014 Congratulations! :)
- Timur Gafarov (2/10) Apr 10 2014 Man, why no source code? Or, at least, API documentation or usage exampl...
- Harpo (5/5) Apr 10 2014 What do you mean? There are a couple demo programs. I also
- Timur Gafarov (3/8) Apr 10 2014 I mean without source or library/API it seems no way to embed it in
- Chris (3/11) Apr 10 2014 I'm on 64bit Linux. Result:
- Harpo (4/4) Apr 10 2014 I found a small glitch, and fixed some stuff. Here is the new
- Harpo (1/1) Apr 10 2014 Note this requires the SDL2 runtime libraries to be installed.
- Chris (10/14) Apr 10 2014 Downloaded new version. Result still
- Nick Sabalausky (4/7) Apr 10 2014 Creating a subdirectory with the same name as the archive is the job of
- Ben Boeckel (6/9) Apr 10 2014 Maybe in a perfect world. We do not live in such a place (especially
- Nick Sabalausky (31/39) Apr 11 2014 It's just that...It never made any sense to me whatsoever that an
- Rory McGuire (6/13) Apr 11 2014 :) on Ubuntu the default extractor always creates a new directory and if...
- Nick Sabalausky (5/9) Apr 11 2014 Personally, I'd prefer if it was the single lone directory *inside* the
- "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= (4/6) Apr 13 2014 Tar is a tape archiver, for backups. So it makes sense. E.g.
- Chris (6/15) Apr 11 2014 I simply expect MyArchive.tar.gz > MyArchive/
- Iain Buclaw (2/8) Apr 10 2014 I recommend putting the source somewhere, such as github. :)
- asman (3/18) Apr 10 2014 I was going to suggest same but I think there's no source code
- John Colvin (6/14) Apr 10 2014 You'll get a lot more interest if you put this somewhere a more
- Jacob Carlborg (5/10) Apr 10 2014 Yeah, I haven't bothered to look at this because I can't view the source...
- bearophile (4/5) Apr 11 2014 The "hs" suffix is used by Haskell source code.
Hello. Here is a programming language that is coded in D. The documentation is included in the file. It is ment to be used as a general purpose scripting language. Its name is HarpoScript. It has enough features for general purpose work at the moment, however its not exactly efficient. If you are interested check it out! Note it is only compiled for 64bit Linux. Link: http://www.mediafire.com/download/cjae0pnxmjpl7au/HarpoScriptR2.tar.gz
Apr 09 2014
On 4/9/2014 5:31 PM, Harpo wrote:Hello. Here is a programming language that is coded in D. The documentation is included in the file. It is ment to be used as a general purpose scripting language. Its name is HarpoScript. It has enough features for general purpose work at the moment, however its not exactly efficient. If you are interested check it out! Note it is only compiled for 64bit Linux. Link: http://www.mediafire.com/download/cjae0pnxmjpl7au/HarpoScriptR2.tar.gzA link to some design documentation would be appreciated, rather than just a compressed file.
Apr 09 2014
On 04/09/2014 05:31 PM, Harpo wrote:a programming language that is coded in D.Congratulations! :) Another one by a high school student: https://github.com/Rhodeus/Script The author had won first place among high school students in TÜBİTAK competition. Ali
Apr 09 2014
On 10.04.2014 04:31, Harpo wrote:Hello. Here is a programming language that is coded in D. The documentation is included in the file. It is ment to be used as a general purpose scripting language. Its name is HarpoScript. It has enough features for general purpose work at the moment, however its not exactly efficient. If you are interested check it out! Note it is only compiled for 64bit Linux. Link: http://www.mediafire.com/download/cjae0pnxmjpl7au/HarpoScriptR2.tar.gzMan, why no source code? Or, at least, API documentation or usage example?
Apr 10 2014
What do you mean? There are a couple demo programs. I also include some individual doc that explains what the different features are. The project may be creative commons at some point. Running a program is just running the executable with the program name as the parameter.
Apr 10 2014
On 10.04.2014 18:47, Harpo wrote:What do you mean? There are a couple demo programs. I also include some individual doc that explains what the different features are. The project may be creative commons at some point. Running a program is just running the executable with the program name as the parameter.I mean without source or library/API it seems no way to embed it in host application, which is the point of any scripting language.
Apr 10 2014
On Thursday, 10 April 2014 at 00:31:34 UTC, Harpo wrote:Hello. Here is a programming language that is coded in D. The documentation is included in the file. It is ment to be used as a general purpose scripting language. Its name is HarpoScript. It has enough features for general purpose work at the moment, however its not exactly efficient. If you are interested check it out! Note it is only compiled for 64bit Linux. Link: http://www.mediafire.com/download/cjae0pnxmjpl7au/HarpoScriptR2.tar.gzI'm on 64bit Linux. Result: Segmentation fault (core dumped)
Apr 10 2014
I found a small glitch, and fixed some stuff. Here is the new link. http://www.mediafire.com/download/gkptmp52744ihqt/HarpoScriptR3.tar.gz To run the demo program just do ./main program.hs
Apr 10 2014
Note this requires the SDL2 runtime libraries to be installed.
Apr 10 2014
On Thursday, 10 April 2014 at 15:12:21 UTC, Harpo wrote:I found a small glitch, and fixed some stuff. Here is the new link. http://www.mediafire.com/download/gkptmp52744ihqt/HarpoScriptR3.tar.gz To run the demo program just do ./main program.hsDownloaded new version. Result still $ ./main program.hs ./main Segmentation fault (core dumped) The hint about the library is something that might be of interest to people. I suggest you mention it earlier the next time. Also, after extracting the archive the folder is called "release". One would expect HarpoScript/release/. Little annoyances put people off.
Apr 10 2014
On 4/10/2014 11:23 AM, Chris wrote:Also, after extracting the archive the folder is called "release". One would expect HarpoScript/release/. Little annoyances put people off.Creating a subdirectory with the same name as the archive is the job of an extracting tool. Archives with a redundant internal directory are annoying.
Apr 10 2014
On Thu, Apr 10, 2014 at 18:42:14 -0400, Nick Sabalausky wrote:Creating a subdirectory with the same name as the archive is the job of an extracting tool. Archives with a redundant internal directory are annoying.Maybe in a perfect world. We do not live in such a place (especially since tools don't flag 'tarbombs' as anything different). Either way, get a flag added to tar for such a thing and maybe folks wouldn't care so much about tarbombs anymore. --Ben
Apr 10 2014
On 4/11/2014 1:41 AM, Ben Boeckel wrote:On Thu, Apr 10, 2014 at 18:42:14 -0400, Nick Sabalausky wrote:It's just that...It never made any sense to me whatsoever that an archive extractor should *EVER* fail to implicitly create a same-named directory for all the archive's contents - except when the user *specifically* says not to. The convention of expecting *people* (or even archivers for that matter) to always stick a redundant dummy directory into their archives (and, naturally, to keep its name reasonably in sync with the archive's filename - which rules out automatically handling the matter on the archiver's end) is guaranteed to be error-prone. And yet, AFAICS, it exists *purely* as a workaround for extractors failing to, by default, do the *only* thing that really makes sense as a default in the first place. Illustrating this, here's how I have my system working: I only ever use the "extract to a new same-named directory" feature of an extractor (in my case, that's generally WinRAR's or 7-Zip's Explorer shell integration). The only exception is the *rare* special-case where an archive is intended to be extracted overtop a specific existing directory - and even that's a questionable practice anyway. Whenever possible, I avoid extractors that don't have this "to a new same-named directory" feature. What that means is I'm guaranteed to *never* have archives clobber, or spew files into, the wrong directory. And yet I get that *without* relying on a human convention that will *never* reliably reach a 100% adoption rate anyway. The only downside I face is that extracting archives from those trying to workaround ill-behaved extractors results in an extra superfluous directory. An annoyance (well, a pet-peeve TBH), but clearly not anywhere near as bad. I just don't see how it could *possibly* make any sense to NOT do it this way. Well, that's my rant about it, anyway. ;)Creating a subdirectory with the same name as the archive is the job of an extracting tool. Archives with a redundant internal directory are annoying.Maybe in a perfect world. We do not live in such a place (especially since tools don't flag 'tarbombs' as anything different). Either way, get a flag added to tar for such a thing and maybe folks wouldn't care so much about tarbombs anymore.
Apr 11 2014
On Fri, Apr 11, 2014 at 9:26 AM, Nick Sabalausky < SeeWebsiteToContactMe semitwist.com> wrote:The only downside I face is that extracting archives from those trying to workaround ill-behaved extractors results in an extra superfluous directory. An annoyance (well, a pet-peeve TBH), but clearly not anywhere near as bad. I just don't see how it could *possibly* make any sense to NOT do it this way. Well, that's my rant about it, anyway. ;):) on Ubuntu the default extractor always creates a new directory and if it finds a single directory inside that new directory after extraction is moves that directory out of the new directory and deletes the now empty new directory.
Apr 11 2014
On 4/11/2014 3:39 AM, Rory McGuire wrote::) on Ubuntu the default extractor always creates a new directory and if it finds a single directory inside that new directory after extraction is moves that directory out of the new directory and deletes the now empty new directory.Personally, I'd prefer if it was the single lone directory *inside* the archive that was removed since their names aren't always the same as the archive, which is messy and just leads to pointless confusion. But yea, sounds like they definitely have the right idea.
Apr 11 2014
On Friday, 11 April 2014 at 07:26:08 UTC, Nick Sabalausky wrote:I just don't see how it could *possibly* make any sense to NOT do it this way.Tar is a tape archiver, for backups. So it makes sense. E.g. Backing up whole disks, piping from find to tar etc. It makes sense, but it is annoying :-)
Apr 13 2014
On Thursday, 10 April 2014 at 22:42:19 UTC, Nick Sabalausky wrote:On 4/10/2014 11:23 AM, Chris wrote:I simply expect MyArchive.tar.gz > MyArchive/ and not MyArchive.tar.gz > release Simply annoying when you cannot find the folder with the content, because it has a completely different name.Also, after extracting the archive the folder is called "release". One would expect HarpoScript/release/. Little annoyances put people off.Creating a subdirectory with the same name as the archive is the job of an extracting tool. Archives with a redundant internal directory are annoying.
Apr 11 2014
On 10 April 2014 01:31, Harpo <roederharpo gmail.com> wrote:Hello. Here is a programming language that is coded in D. The documentation is included in the file. It is ment to be used as a general purpose scripting language. Its name is HarpoScript. It has enough features for general purpose work at the moment, however its not exactly efficient. If you are interested check it out! Note it is only compiled for 64bit Linux. Link: http://www.mediafire.com/download/cjae0pnxmjpl7au/HarpoScriptR2.tar.gzI recommend putting the source somewhere, such as github. :)
Apr 10 2014
On Thursday, 10 April 2014 at 15:19:45 UTC, Iain Buclaw wrote:On 10 April 2014 01:31, Harpo <roederharpo gmail.com> wrote:I was going to suggest same but I think there's no source code available. At least, I can't find it.Hello. Here is a programming language that is coded in D. The documentation is included in the file. It is ment to be used as a general purpose scripting language. Its name is HarpoScript. It has enough features for general purpose work at the moment, however its not exactly efficient. If you are interested check it out! Note it is only compiled for 64bit Linux. Link: http://www.mediafire.com/download/cjae0pnxmjpl7au/HarpoScriptR2.tar.gzI recommend putting the source somewhere, such as github. :)
Apr 10 2014
On Thursday, 10 April 2014 at 00:31:34 UTC, Harpo wrote:Hello. Here is a programming language that is coded in D. The documentation is included in the file. It is ment to be used as a general purpose scripting language. Its name is HarpoScript. It has enough features for general purpose work at the moment, however its not exactly efficient. If you are interested check it out! Note it is only compiled for 64bit Linux. Link: http://www.mediafire.com/download/cjae0pnxmjpl7au/HarpoScriptR2.tar.gzYou'll get a lot more interest if you put this somewhere a more public and reliable than a tarball on mediafire. Put the source in a github/bitbucket repo perhaps? As it is, I'm wary of touching random mediafire links to binaries on a mailing list.
Apr 10 2014
On 11/04/14 00:17, John Colvin wrote:You'll get a lot more interest if you put this somewhere a more public and reliable than a tarball on mediafire. Put the source in a github/bitbucket repo perhaps? As it is, I'm wary of touching random mediafire links to binaries on a mailing list.Yeah, I haven't bothered to look at this because I can't view the source code in a web browser. -- /Jacob Carlborg
Apr 10 2014
Harpo:http://www.mediafire.com/download/cjae0pnxmjpl7au/HarpoScriptR2.tar.gzThe "hs" suffix is used by Haskell source code. Bye, bearophile
Apr 11 2014