ontodev / valve.js

VALVE in JavaScript
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Update datatype handling #8

Closed beckyjackson closed 3 years ago

beckyjackson commented 3 years ago

Currently, datatypes & string arguments are ambiguous because either can be a single word or a double-quoted string.

This update is to make it so that datatypes only match [a-zA-Z0-9-_]:+, never surrounded by double quotes, and all string arguments must be double-quoted.

beckyjackson commented 3 years ago

I think I fixed the number problem @jamesaoverton - I also added a new test to check that it works.