This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <attractor.h> | |
| int var_to_test_1 = 1; | |
| float var_to_test_2 = 2.0; | |
| ATT_ASSERT(var_to_test_1, 1, "integer test") | |
| ATT_ASSERT(var_to_test_2, 2.0, "float test") | |
| ATT_ASSERT("foo", "foo", "Strings compare") | |
| // Etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BITS 16 | |
| start: | |
| mov ax, 07C0h | |
| add ax, 288 | |
| mov ss, ax | |
| mov sp, 4096 | |
| ; Have fun here! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This little emoji | |
| ↓ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use feature 'say'; | |
| # Global variables | |
| my %word_frequency; | |
| my %paragraph_stats; | |
| # Main program |
OlderNewer