| Commit message (Collapse) | Author | Age | Lines | SHA |
| ... | |
| | |\ \
| |/ /
|/| | |
|
| |\ \ \
| | | |
| | | | |
Feature/double
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| |/ / / |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Proof of concept implementation of NaN boxing
* Added note about how to contribute
* Added homeworks post
* Fixed windows build
* Fixed windows build
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add brainfsck interpreter
* Remove unused imports in Main
* Add .gitignore
* Fix example commands
|
| | |\ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Implement code generation for some unary expressions
Implement debug code augmentation.
Now part of expresions have source location.
Extend Tokens with Column information.
Refactor byte code generation.
Add options for byte code generator.
* Fix linux build
* Little refactoring in byte code generation
* Fix couple bugs in byte code generation and add some tests.
* Fix some linux warnings.
|
| |/ / |
|
| | |
| |
| |
| |
| |
| | |
* Rust syntax highlighter: fix some issues with the implementation of the first homework assignment
* Rust syntax highlighter: pretty-printer: implement the second homework assignment
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Started vm intro slides
* Added slides for machines
* finished vm intro slides
* Fixed warnings on Linux
* Added the slides to the contents
|
| |\ \
| | |
| | | |
Code gen
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ / |
|
| |\ \
| | |
| | | |
Spasm tests and latest instruction set
|
| | | | |
|
| | | | |
|
| |/ /
| |
| |
| | |
- added solution folders
|
| | |
| |
| |
| |
| |
| | |
* Use checkout as-is, commit as-is
* Spasm can assemble programs based on the new instruction set
|
| |\ \
| | |
| | | |
Feature/spasm improvements
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ / |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Initial commit of clex
new file: .gitignore
new file: Setup.hs
new file: app/Main.hs
new file: keyword-strings.txt
new file: package.yaml
new file: sample.c
new file: src/Boilerplate.hs
new file: src/Lex.hs
new file: src/Lib.hs
new file: stack.yaml
new file: test/Spec.hs
Need to implement ctohtml functionality now.
And maybe tests for the lexer.
* Clean-up
modified: app/Main.hs
modified: package.yaml
modified: src/Boilerplate.hs
modified: src/Lex.hs
deleted: src/Lib.hs
Clean-up warnings (unused stuff). Remove unused Lib.hs
* Add swap files to gitignore
modified: .gitignore
* Add comments, fix keyword parsing
modified: src/Lex.hs
Previously keyword parsing would only work if you followed the keyword
with a whitespace. Now we just include all non-alphanumerir characters
as ends of a keyword.
* Fix escaped character parsing in strings
modified: src/Lex.hs
Had previously only fixed it for characters.
* Add explicit exports and comments to Boilerplate.hs
modified: src/Boilerplate.hs
* Remove chars written as numbers
modified: src/Lex.hs
* Rename Boilerplate to Types
modified: Lex.hs
renamed: Boilerplate.hs -> Types.hs
* Fix forgotten shift assigns, implement tokenToBS
modified: src/Types.hs
* Add generic tests, fix a couple of bugs
modified: package.yaml
renamed: src/Lex.hs -> src/Clex/Lex.hs
renamed: src/Types.hs -> src/Clex/Types.hs
modified: stack.yaml
new file: test/Clex/LexSpec.hs
new file: test/Clex/TypesSpec.hs
modified: test/Spec.hs
Added pretty basic tests that generate tokens and then lex to and from
bytestrings.
Fixed a bug where I didn't realise unsigned could be 0 or more
instances, and not a single char.
Fixed a bug where (tokenToBS Not) == "!=", instead of "!".
Fixed a bug where I was parsing Numbers before Floating numbers,
and as a result "0.123" would show up as [Number _, DotFloat _]
instead of [LeadingDot _].
* Remove executable info from clex lib
deleted: app/Main.hs
modified: package.yaml
* Add cToHtml tool
new file: .gitignore
new file: Setup.hs
new file: app/Main.hs
new file: package.yaml
new file: sample.c
new file: src/Html.hs
new file: stack.yaml
* Add instructions and global stack.yaml for ease of use
new file: .gitignore
new file: README.md
new file: stack.yaml
* Add a bit of docs to cToHtml
new file: README.md
modified: package.yaml
* Add comment on comments and the CPP
modified: README.md
* Apply hlint, remove ChangeLog.md, add *.swp
modified: .gitignore
new file: cToHtml/app/.Main.hs.swp
modified: cToHtml/app/Main.hs
modified: cToHtml/package.yaml
modified: clex/src/Clex/Lex.hs
modified: clex/test/Clex/LexSpec.hs
modified: clex/test/Clex/TypesSpec.hs
* Don't need Lucid for lexer
modified: clex/package.yaml
* Fix comma typo
modified: README.md
* Fix typo and misinformation
modified: cToHtml/package.yaml
modified: clex/package.yaml
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Initial commit
* Fix some typos
modified: README
* Delete index.html
|
| | |
| |
| |
| |
| | |
Not that comments single line or multi line are not parsed.
Numbers are parsed in the most naive way possible so don't expect
miracles.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add token types enum for Lexer
* Local test if I've correctly switched from https to ssh
* Adds initial Lexer logic; Reuses JSImpl's Lexer logic; Still needs refactoring;
* Adds README.md
* Adds README.md
* Adds tokenization of strings and a few operators
* Adds some operators
* Adds highlighter and sample for future testing
* Adds runes & fixes double whitespace bug
* API fix, premake, solution
* Update README.md
* Delete HL.sln
* Delete HL.vcxproj
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Initial lexer structure
* Added IInputStream interface for the Lexer and its base implementation in FileInputStream not implemented yet.
* Extend InputStream interface
* Implement FileInputStream not tested
* Lexer almost ready - comments need to be parsed.
InputStream ready
* Added some TODOs
* Add error token type and almost parse comments
* Parse multiline comments and fix string parsing to not include the quotes.
* Added Syntax Highlighter, added support for more js reserved words, removed error tokens to not break the actual word tokens, fixed comments and string token representation to include its special characters
* Initial lexer structure
* Added IInputStream interface for the Lexer and its base implementation in FileInputStream not implemented yet.
* Extend InputStream interface
* Implement FileInputStream not tested
* Lexer almost ready - comments need to be parsed.
InputStream ready
* Added some TODOs
* Add error token type and almost parse comments
* Parse multiline comments and fix string parsing to not include the quotes.
* Added Syntax Highlighter, added support for more js reserved words, removed error tokens to not break the actual word tokens, fixed comments and string token representation to include its special characters
* Improve project structure and add tests
* Fix physical path structure of the projects
* Write tests, fix tokenizer bugs
* Fix README format, fix AssemblyInfo name
* Escape slashes in readme
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add 1st hw
* --amend
* moving readme for 1st hw to designated folder
* renamed TokenType enum to TokenClass
* fixed character constant lexing. added sampe output file
* add new line at end-of-file. added gitignore
* a bit of refactoring
* adding cyclomatic complexity
* refactored
* adding cyclomatic complexity
* refactored
|
| | | |
|
| | | |
|
| | | |
|
| |\ \ |
|
| | /
| |
| |
| |
| | |
git-subtree-dir: spasm
git-subtree-split: 08ee95d89054ba0d33697d613799a0a013aedf89
|