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
#ifndef HEY_HI_CLASS_H | |
#define HEY_HI_CLASS_H | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <stddef.h> | |
struct c_hey_p_hi_p_Class; | |
extern void c_hey_p_hi_p_Class_m_this(struct c_hey_p_hi_p_Class * self); | |
extern void c_hey_p_hi_p_Class_m_blah(struct c_hey_p_hi_p_Class * self, int32_t p_h); | |
extern void c_hey_p_hi_p_Class_m_main(void); | |
extern int32_t c_hey_p_hi_p_Class_sf_ajwidpajdp; |
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
try | |
{ | |
int first = 0; | |
} | |
catch (Exception e) | |
{ | |
float second = 1.0; | |
} | |
finally | |
{ |
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
// Copyright (c) <year> <name> | |
// The antonijn open-source license, draft 1, long form. | |
// | |
// The permission for the following is hereby granted, free of charge: | |
// 1. To use the software as you wish | |
// 1.1. To use the software for commercial purposes | |
// 1.2. To dynamically or statically link the software with any other | |
// software | |
// 1.3. To dynamically invoke/load software functionality at runtime in | |
// any other software |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace dragon | |
{ | |
internal struct Vector2 | |
{ |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
namespace linecounter | |
{ | |
class Program | |
{ |
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
Base: | |
class boh.std.Object | |
this(); | |
virtual boh.std.Type getType(); | |
virtual long hash(); | |
virtual boolean equals(Object other); | |
virtual boh.std.String toString(); | |
static boolean valEquals(boh.std.Object l, boh.std.Object r); |
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
private static void f() | |
{ | |
ThreadExEnv env = Thread.current().getExEnv(); | |
void() fin = void () -> | |
{ | |
// finally block | |
// ... | |
}; | |
if (!env.registerHandler(fin)) | |
{ |
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
private static int getch(byte[] buf, ref int idx) | |
{ | |
byte nxt = buf[idx++]; | |
byte mask; | |
int remunits; | |
if ((nxt & 0x80) == 0) { | |
mask = 0; | |
remunits = 0; | |
} else { | |
byte lead = 0xC0; |
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
import aqua.std; | |
public class Program | |
{ | |
private static native int putchar(int ch); | |
private static void print(char ch) | |
{ | |
putchar(ch); | |
} |
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 "unicode.h" | |
#include <stdint.h> | |
#include <stddef.h> | |
int is_valid_char(uint32_t ch) | |
{ | |
return ch < 0xd800 || ch > 0xdfff; | |
} | |
int is_combo_char(uint32_t ch) |