I'm trying to use LzmaLib's LzmaCompress() and LzmaDecompress() with buffers, adapting the examples provided here.
I'm testing with a ~3MB buffer and the compression function seems to work fine (produces a ~1.2MB compressed buffer), but when I try to decompress, it just extracts ~300 bytes and r...
I'm still writing my lisp interpreter in C (slowly! ;) needed time to develop my skills a bit). I have a question regarding the parsing. I know that sometimes tree structures are implicit, as in the case of heapsort for arrays (you don't generate an actual heap in memory to then sort it and write it back to array). And since lisp source code is textualized symbolic expressions, do I need to generate an actual symbolic expression tree in memory during parsing? Example:
@Byte well it depends on how your interpreter/compiler is working: if your parser is tokenizing first, and then those tokens are translated to symbols, then I just desribed what you need to do; however, if your parser is translating the input text into symbols directly (which is doable with an easy-to-parse language, such as LISP) then you also have your answer, the output of the parser will be evaluated next
or maybe I misunderstood your question, in which case, you should rephrase it, so that I can give you a better answer!
no problem at all @IljaEverilä but I think it was pretty obvious (even from the number of questions asked in the last 2 days by him) that he is just not doing his part very well, that is research, initial testing, whatever
I am trying to analyze the following makefile and reproduce its "behavior" step by step.
Although I type "make all" it seems this makefile skips the "all:" line and jumps straight to "build/*.o" (hence the echo's).
The file and its corresponding output:
TOOLCHAIN ?= arm-none-eabi-
SOURCES = ...