On Thursday, April 27, 2017 at 9:45:40 PM UTC+6, gmhwxi wrote: > > Thanks! > > Just tried it: > > /home/ubuntu/workspace/mytmp/node_modules/atscntrb-as-ats3d/src/DATS/quaternion.dats: > > 7079(line=343, offs=11) -- 7093(line=343, offs=25): error(3): the symbol > [.length] cannot be resolved due to too many matches: > D2ITMcst(length_vec3i) of 10 > D2ITMcst(length_vec3f) of 10 > > Well, this isn't supported yet, sorry! I'm going to give quaternions a try once a proper scene description is done. I'm currently working on test04 (will break it into separate modules soon); the goal is to create a feature-rich software rasterizer that mimics the OpenGL shading pipeline (I'm following https://github.com/ssloy/tinyrender as an inspiration).
> It seems that a type-annotation is needed for the if-expression. > > Also, there are files like xyz~ in the package. You may want to remove > them. > > This is what I was trying to avoid. But maybe it's there because it got into version control... We'll see. > > On Thursday, April 27, 2017 at 11:33:53 AM UTC-4, Artyom Shalkhakov wrote: >> >> I made this package: >> >> https://www.npmjs.com/package/atscntrb-as-ats3d >> >> This is what I did: >> >> $ cd ats3d >> $ npm init >> ...answered some questions (most notably, named the package >> [atscntrb-<author-initials>]; added ATS to the list of keywords) >> ...tried to figure out how .npmignore work (it didn't help me exclude a >> leftover README.md~ file, no idea why) >> $ npm publish >> >> That was very simple! >> >> What are the mylibies/mydepies files? I'm still struggling to understand >> how external package dependencies are handled. >> >> On Thursday, April 27, 2017 at 6:13:15 PM UTC+6, gmhwxi wrote: >>> >>> Sure :) >>> >>> On Thursday, April 27, 2017 at 2:56:23 AM UTC-4, Artyom Shalkhakov wrote: >>>> >>>> On Thursday, April 27, 2017 at 12:17:02 PM UTC+6, gmhwxi wrote: >>>>> >>>>> >>>>> Packaging ATS code is largely undocumented at this point. >>>>> >>>>> I suggest that we use ats3d (https://github.com/ashalkhakov/ats3d) >>>>> as a concrete example to illustrate some key steps involved in forming >>>>> an npm-package for ATS code. >>>>> >>>> >>>> I'll do it, will you wait for evening? Oh, I wanted to say: will you >>>> wait for 6 hours? >>>> >>>> I guess at this point, just creating a dummy package with sources will >>>> be enough? I have packaged some tiny library on NPM once. >>>> >>> -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-users+unsubscr...@googlegroups.com. To post to this group, send email to ats-lang-users@googlegroups.com. Visit this group at https://groups.google.com/group/ats-lang-users. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/ea35105c-23e9-4f0b-934c-e454a67f3a51%40googlegroups.com.