1
0
Fork 0
mirror of https://github.com/notwa/lips synced 2024-11-14 09:29:03 -08:00

update readme etc.

This commit is contained in:
Connor Olding 2017-01-04 01:31:21 -08:00
parent ec76e37014
commit b97098a844
3 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,4 @@
Copyright (C) 2015,2016 Connor Olding
Copyright (C) 2015-2017 Connor Olding
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation

View file

@ -277,7 +277,8 @@ in the directory of the file using the directive.
* `.ascii "some\ntext\0"`
writes a string using its characters' ASCII values.
a few escapes are currently supported: `\ " a b f n r t v 0`
a few escapes are currently supported: `\ " a b e f n r t v 0`,
also `\xXX` where XX is a byte given in hexadecimal.
* `.asciiz "some\ntext"`
same as ascii, but with a null byte added to the end.

4
TODO
View file

@ -1,3 +1,7 @@
what i should probably do is add 'hooks' just before newlines have been yielded
so you can look at the previous line and say hey it's an include
let's start lexing that instead
unify/optimize ascii/asciiz/byte/halfword/word into BIN directives
also lex strings to binary strings, why not