Skip to content

Non-initial characters include any decimal digit (0-9) #158

Answered by zkat
mikeparisstuff asked this question in Q&A
Discussion options

You must be logged in to vote

This was intentionally removed because I found anonymous nodes kinda awkward to work with, and then I added string-name nodes, which conflict with that feature.

The SDLang example basically translates to this, internally:

matrix {
  anon 1 0 0
  anon 0 1 0
  anon 0 0 1
}

My personal recommendation when you just want an "anonymous" node is to use - as a name, which seems to be something that's increasingly popular among the early adopter crowd:

matrix {
  - 1 0 0
  - 0 1 0
  - 0 0 1
}

I actually prefer this because I find that the matrix example from SDLang obfuscates the fact that these are just 3 nodes and makes it seem like you can arbitrarily organize values like that? Does that make…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@larsgw
Comment options

@mikeparisstuff
Comment options

Answer selected by mikeparisstuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants