Website Summary Files Commits Branches @commit @diff @stats
path: root / homework
Commit message (Collapse)AuthorAgeLinesSHA
* solution to first homework (#132)
 dtagarev Unverified
2022-11-03-0/+1977e8bcc7
| | | | | | | | | | | * Delete lex.yy.c * adding homework1 * Delete output * correction to the location of the folders Co-authored-by: dtrendafilov <trendafilov.dn@gmail.com>
* Removed old homeworks
 Dimitar Trendafilov
2020-10-11-37726/+0aeb0d4f
|
* homework3: SPGCD (#72)
 Dimitar Milev
2018-11-29-0/+27ded77c1
|
* Add brainfuck interpreter (#65)
 Georgi Stefanov
2018-11-29-0/+523c0567e2
| | | | Not sure if it builds correctly. You have to have go compiler.
* Added Homework 3 - BF Interpreter (#64)
 thetedgt
2018-11-29-0/+25799a9f93
| | | | | | | | * homework 1 * Adding homework 3 - brainfuck interpreter * Add README.md
* added BF interpreter homework (#59)
 Aleksandar Shumakov
2018-11-28-0/+68ad0e027
|
* Add brainf interpreter (#58)
 Bilyal Mestanov
2018-11-28-0/+3288e84b63
|
* Python parser and collapsing blocks + brainfuck interpreter (#46)
 Ralitsa Dardjonova
2018-11-28-0/+2245b98a979
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial commit * Fix some typos modified: README * Delete index.html * Simple parser * add grammar for Python * Delete lex.backup * Delete 2 * Delete a * Delete pretty_print.cpp * Delete try1.lex * Add colapser * Delete 2 * Delete a * Delete lex.backup * Delete try1.lex * Delete pretty_print.cpp * Delete pretty_print.c * Add colapser * Fix grammar test _more cases * add README * Delete parser.tab.c * Delete parser.tab.h * Delete lex.yy.c * Delete parser * Update README * delete parser.output parser.output was generated project file * Delete output.file * Delete output.html * Delete output.html * Delete parser.output * Add brainfuck interpreter * Add README and Makefile
* Adding 3rd homework - Brainfuck Interpreter (#44)
 Mincho Paskalev
2018-11-28-0/+43003e5cf59
| | | | | | | | | | | | | | | | | | * 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 * Add BF interpreter
* Fixed cloning the repo on Windows
 Dimitar Trendafilov
2018-11-27-0/+05288b04
|
* HW3.2 Brainf interpreter (#43)
 YanaRG
2018-11-27-99/+29094ea551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create README.md * Initial commit * Initial commit * Create README.md * Rename homework/81281/c2html.pl to homework/81281/c2html/c2html.pl * Rename homework/81281/test.c to homework/81281/c2html/test.c * Update README.md * Update README.md * Update c2html.pl * Update c2html.pl * Update c2html.pl * Update README.md * Update c2html.pl * Update test.c * Create executeProgram.sh * Update README.md * Update c2html.pl * Initial commit of updated code + prettify C * Rename secret.c to messyCode.c * Update and rename test.c to initialTest.c * Update README.md * Update README.md * Update README.md * Update README.md * Rename executeProgram.sh to c2htmlrun.sh * Update README.md * Update prettify.pl * Update prettify.pl * Update messyCode.c * Fixed some bugs. * Update README.md * Update c2html.pl * Added collapse and fixed matrix representation. * Updated flatten and added predicate for function identification. * Update initialTest.c * Update messyCode.c * Bug fixing, added is_functionAndBody predicate. * Update print.pl * Result after applying prettify and added collapse functions * Can identify structures and collapse them too * Can identify structures and collapse them too * Can identify structures and collapse them too * Can identify structures and collapse them too * Can identify structures and collapse them too * Update messyCode.c * Update README.md * Update prettify.pl * Update README.md * Update prettify.pl * Update messyCode.c * Update messyCode.c * Update page.html * Fix bug typedef * Update page.html * Added choices * Update c2html.pl * Update prettify.pl * Update prettify.pl * Update README.md * Update README.md * Update c2html.pl * Update c2html.pl * Added forgotten do-while structure format * Update messyCode.c * Removing unknown tokens from stream * Rename homework/81281/c2html/page.html to homework/81281/c2html/exampleCodeAndTestPage/page.html * Rename homework/81281/c2html/messyCode.c to homework/81281/c2html/exampleCodeAndTestPage/messyCode.c * Rename homework/81281/c2html/initialTest.c to homework/81281/c2html/exampleCodeAndTestPage/initialTest.c * Update prettify.pl * Can collapse all control structures and fixed comment /**/ * Can collapse all control structures and fixed comment /**/ * Can collapse all control structures and fixed comment /**/ * Can collapse all control structures and fixed comment /**/ * Can collapse all control structures and fixed comment /**/ * Fixed named of predicates * Update messyCode.c * Update page.html * Update README.md * Changed execTAB to "\s\s\s\s" * Changed execTAB to "\s\s\s\s" * Changed execTAB to "\s\s\s\s" * Update page.html * Added new tokens (forgotten operators) and added rules for them * Added new tokens (forgotten operators) and fixed some old predicates * Fixed bug with "else '\n' if (..)" in addNewLines predicate * Fixed regular expression for a string and removed token ttypesPrintF * Added clauses for handling enum and fixed handling of chars * Fixed typos * Added forgotten token to clause * Fixed "case smt :'\n'" where smt is more than one char * Fixed some bugs and divided code in modules * New code module and fixed bugs * Fixed some bugs with tabulation * Divided code in modules * Delete executeProgram.sh * Delete test.c * Initial version, still very buggy. * Finished with bug killing. * Fixed readme and added new program for tests. * Forgotten line added. * Organizing stuff in different folders. * Forgot to delete files. * Fixed typo.
* Предаване на трето домашно (brainfuck interpreter) (#42)
 Georgi Lyubenov
2018-11-26-0/+196cf3ccde
| | | | | | * Add brainfuck interpreter implementation * Improve usage info
* Add homework 3 - brainfsck interpreter (#55)
 Georgi Bojinov
2018-11-19-0/+800add56cc
| | | | | | | | | | * Add brainfsck interpreter * Remove unused imports in Main * Add .gitignore * Fix example commands
* implement the second homework assignment (#39)
 Radoslav Georgiev
2018-11-17-2216/+14795729bc0
| | | | | | * Rust syntax highlighter: fix some issues with the implementation of the first homework assignment * Rust syntax highlighter: pretty-printer: implement the second homework assignment
* GCD in asm (#41)
 ValeriHristov
2018-11-17-0/+309420791
|
* Предаване на първо домашно ("XXX2html") (#12)
 Georgi Lyubenov
2018-11-07-0/+1256990a8f5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* First homework - highlighter for python (#17)
 Ralitsa Dardjonova
2018-11-07-0/+37676b849f
| | | | | | | | | | * Initial commit * Fix some typos modified: README * Delete index.html
* A (naive) golang implementation of a JavaScript lexer. (#18)
 Dobromir Ivanov
2018-11-07-0/+74497a5843
| | | | | 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 homework 1 (#23)
 Bilyal Mestanov
2018-11-07-0/+236513f0746
|
* Solution to first homework (#25)
 Ralitsa Velikova
2018-11-07-0/+141593cd8ca
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Homework 1 - C# Lexer and Syntax Highlighter for Javascript (#34)
 Georgi Barnev
2018-11-07-0/+244147e8c6f
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 golang ot html highlighter (#28)
 Georgi Bojinov
2018-11-07-0/+8035a4403e
|
* Добавяне на второ домашно (#30)
 Mincho Paskalev
2018-11-07-212/+42865c7618
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add foldable blocks in Golang 2 highlighter (#33)
 Georgi Stefanov
2018-11-03-0/+4582ceb31e1
| | | | | | | | | | | | | | | | * initial commit * Add implementation using concatenation * Added block collapsing * Finish block collapsing * Fix nested blocks and + -> - when collapsing * Remove unnecessary files. * Add readme
* Added prettifier and control structure collapse. (#19)
 YanaRG
2018-11-03-321/+14189557d0c
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create README.md * Initial commit * Initial commit * Create README.md * Rename homework/81281/c2html.pl to homework/81281/c2html/c2html.pl * Rename homework/81281/test.c to homework/81281/c2html/test.c * Update README.md * Update README.md * Update c2html.pl * Update c2html.pl * Update c2html.pl * Update README.md * Update c2html.pl * Update test.c * Create executeProgram.sh * Update README.md * Update c2html.pl * Initial commit of updated code + prettify C * Rename secret.c to messyCode.c * Update and rename test.c to initialTest.c * Update README.md * Update README.md * Update README.md * Update README.md * Rename executeProgram.sh to c2htmlrun.sh * Update README.md * Update prettify.pl * Update prettify.pl * Update messyCode.c * Fixed some bugs. * Update README.md * Update c2html.pl * Added collapse and fixed matrix representation. * Updated flatten and added predicate for function identification. * Update initialTest.c * Update messyCode.c * Bug fixing, added is_functionAndBody predicate. * Update print.pl * Result after applying prettify and added collapse functions * Can identify structures and collapse them too * Can identify structures and collapse them too * Can identify structures and collapse them too * Can identify structures and collapse them too * Can identify structures and collapse them too * Update messyCode.c * Update README.md * Update prettify.pl * Update README.md * Update prettify.pl * Update messyCode.c * Update messyCode.c * Update page.html * Fix bug typedef * Update page.html * Added choices * Update c2html.pl * Update prettify.pl * Update prettify.pl * Update README.md * Update README.md * Update c2html.pl * Update c2html.pl * Added forgotten do-while structure format * Update messyCode.c * Removing unknown tokens from stream * Rename homework/81281/c2html/page.html to homework/81281/c2html/exampleCodeAndTestPage/page.html * Rename homework/81281/c2html/messyCode.c to homework/81281/c2html/exampleCodeAndTestPage/messyCode.c * Rename homework/81281/c2html/initialTest.c to homework/81281/c2html/exampleCodeAndTestPage/initialTest.c * Update prettify.pl * Can collapse all control structures and fixed comment /**/ * Can collapse all control structures and fixed comment /**/ * Can collapse all control structures and fixed comment /**/ * Can collapse all control structures and fixed comment /**/ * Can collapse all control structures and fixed comment /**/ * Fixed named of predicates * Update messyCode.c * Update page.html * Update README.md * Changed execTAB to "\s\s\s\s" * Changed execTAB to "\s\s\s\s" * Changed execTAB to "\s\s\s\s" * Update page.html * Added new tokens (forgotten operators) and added rules for them * Added new tokens (forgotten operators) and fixed some old predicates * Fixed bug with "else '\n' if (..)" in addNewLines predicate * Fixed regular expression for a string and removed token ttypesPrintF * Added clauses for handling enum and fixed handling of chars * Fixed typos * Added forgotten token to clause * Fixed "case smt :'\n'" where smt is more than one char * Fixed some bugs and divided code in modules * New code module and fixed bugs * Fixed some bugs with tabulation * Divided code in modules
* Homework 1 (#26)
 GMarinov2
2018-11-03-0/+883c9de201
| | | | | | | | | | | | * Finished homework 1 * Removed the binaries. * Adding gitignore and solution * Removed unnecessary code. * Removed the .sln for the appveyor build.
* 81352 - homework 2 (#32)
 Dimitar Milev
2018-11-03-297/+4364ccd71ee
| | | | | | * fix(hw1): use yyextra instead global variable * hw2: extended the typescript syntax highlighter with collapsible block structures
* First HW (#9)
 Mincho Paskalev
2018-11-03-0/+8800681174
| | | | | | | | | | | | | | | | * 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
* homework 1 (#27)
 thetedgt
2018-11-03-0/+106526e5f89
|
* Homework 1 JavaScript highlighter in JavaScript (#14)
 Vladimir Ananiev
2018-10-25-0/+221dea978c
| | | | | | * Js2Html in Js * remove screenshot
* homework1: typescript syntax highlighter (#22)
 Dimitar Milev
2018-10-25-0/+2316f5dc138
|
* 81319 golang2html lexer (#20)
 Georgi Stefanov
2018-10-25-0/+172a4c9188
| | | | | | | | * Add highlighter for golang * Add readme with instructions * Fix readme
* Homework 1 (#21)
 Yasen Bonev
2018-10-25-0/+124568964c7
| | | | | | | | | | | | | | | | | | | | | | | | | * Commiting .gitignore before real solution * C# project implementing very basic functionality of the lexer, needs refactoring. * Added most javascript reserved keywords * Added logic for most js operators in Tokenizer.cs * added lexemes for operator tokens also created the PrettyPrint() function * added a coloring logic to the parsed text * Refactored Lexer class, added TokenHandler class PrettyPrint colors require tweaking, Lexer needs more refactoring * created TokenHandler to pretty print text to html * Deleted project files * Updated Program.cs
* Lexer/homework (#15)
 omalinov
2018-10-21-0/+6601384d7e
| | | | | | | | | | | | * Initial commit * code is formatted * Homework finished * Genie project generation. * Updated code with new constructors
* implement the first homework assignment (#8)
 Radoslav Georgiev
2018-10-21-0/+22163075429
| | | | | | | | | | | | | | | | | | | | | | | | * Rust syntax highlighter: add incomplete implementation of a scanner for the Rust programming language * Rust syntax highlighter: fix some issues with unrecognized rules caused by unescaped literals * Rust syntax highlighter: refactor the definitions section, fixing some escaping-related style issues * Rust syntax highlighter: refactor the definitions and rules sections, abstracting out some hardcoded patterns * Rust syntax highlighter: refactor, reordering the definitions, rules and CSS class definitions * Rust syntax highlighter: refactor, fixing some style issues with the C code * Rust syntax highlighter: refactor the code section, fixing some HTML- and CSS-related issues * Rust syntax highlighter: drop the document title from the output as it is wrongly hardcoded * Rust syntax highlighter: add gitignore * Rust syntax highlighter: add C source of generated scanner * Rust syntax highlighter: add example Rust program
* Adding first HW to repo. (#7)
 YanaRG
2018-10-17-0/+4785240ae0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create README.md * Initial commit * Initial commit * Create README.md * Rename homework/81281/c2html.pl to homework/81281/c2html/c2html.pl * Rename homework/81281/test.c to homework/81281/c2html/test.c * Update README.md * Update README.md * Update c2html.pl * Update c2html.pl * Update c2html.pl * Update README.md * Update c2html.pl * Update test.c * Create executeProgram.sh * Update README.md
* Added a sample homework
 Dimitar Trendafilov
2018-10-10-0/+2026d942fd5