100+ results for '#lang'
Not the results you expected?
signature-syntax.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 287 lines
✨ Summary
This Racket code defines a set of syntax transformers and macros for working with signatures, which are used to specify constraints on functions in a programming language. The transformers and macros allow developers to define and manipulate signatures, including attaching names to procedures, defining contracts, and transforming unfinished code into valid expressions that raise errors when used incorrectly.
This Racket code defines a set of syntax transformers and macros for working with signatures, which are used to specify constraints on functions in a programming language. The transformers and macros allow developers to define and manipulate signatures, including attaching names to procedures, defining contracts, and transforming unfinished code into valid expressions that raise errors when used incorrectly.
lset.rkt (git://github.com/smorin/f4f.arc.git) Racket · 228 lines
monadic-turtles.rkt (git://github.com/VincentToups/racket-lib.git) Racket · 328 lines
syntax-errors.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 321 lines
✨ Summary
This Racket code tests various error scenarios in the language, including syntax errors, primitive contexts, and sequence-containing expressions. It exercises different types of definitions, binding forms, and internal definitions to ensure that the language correctly handles invalid constructs and produces informative error messages. The test cases cover a range of edge cases to validate the language’s robustness and error handling mechanisms.
This Racket code tests various error scenarios in the language, including syntax errors, primitive contexts, and sequence-containing expressions. It exercises different types of definitions, binding forms, and internal definitions to ensure that the language correctly handles invalid constructs and produces informative error messages. The test cases cover a range of edge cases to validate the language’s robustness and error handling mechanisms.
hiding.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 210 lines
✨ Summary
This Racket code tests and verifies the behavior of a new scheme compiler, specifically its handling of binding expressions, module declarations, and syntax. It checks for correctness in various scenarios, including simple definitions, nested modules, and more complex cases involving lists and tuples. The output indicates whether the compiler produces valid or invalid code.
This Racket code tests and verifies the behavior of a new scheme compiler, specifically its handling of binding expressions, module declarations, and syntax. It checks for correctness in various scenarios, including simple definitions, nested modules, and more complex cases involving lists and tuples. The output indicates whether the compiler produces valid or invalid code.
manual-style.rkt (git://github.com/smorin/f4f.arc.git) Racket · 234 lines
test-stream-callback.rkt (git://github.com/jbclements/rack-portaudio.git) Racket · 214 lines
sets.scrbl
(git://github.com/gmarceau/PLT.git)
Racket · 259 lines
✨ Summary
This Racket code provides a set of functions for working with sets, including creating and manipulating sets, applying procedures to each element, and converting between sets and lists. It also defines several macros for constructing sets in different ways, such as using for
loops and list-to-set conversions. The code is designed to be used in Racket programming language.
This Racket code provides a set of functions for working with sets, including creating and manipulating sets, applying procedures to each element, and converting between sets and lists. It also defines several macros for constructing sets in different ways, such as using for
loops and list-to-set conversions. The code is designed to be used in Racket programming language.
reduce.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 213 lines
✨ Summary
This Racket code defines a set of macros and functions for evaluating expressions in different contexts, including evaluation independence from store and output, handling dynamic-wind, continuation marks, and primitive operations like dynamic-wind
and wcm
. It provides a way to abstractly manipulate the evaluation process and interact with the environment.
This Racket code defines a set of macros and functions for evaluating expressions in different contexts, including evaluation independence from store and output, handling dynamic-wind, continuation marks, and primitive operations like dynamic-wind
and wcm
. It provides a way to abstractly manipulate the evaluation process and interact with the environment.
manual-vars.rkt (https://bitbucket.org/agocke/racket.git) Racket · 217 lines
mrcontainer.rkt (https://bitbucket.org/agocke/racket.git) Racket · 193 lines
filter.rkt (https://github.com/jbclements/RSound.git) Racket · 224 lines
tests.rkt (git://github.com/ntoronto/plt-stuff.git) Racket · 267 lines
defn.rkt (https://github.com/technomancy/dotfiles.git) Racket · 248 lines
test-tool.scm (git://github.com/97jaz/racket.git) Racket · 220 lines
SL-semantics-test.rkt (git://github.com/agocke/racket.git) Racket · 376 lines
term.rkt (git://github.com/agocke/racket.git) Racket · 226 lines
arity-checking.rkt (git://github.com/plt/racket.git) Racket · 239 lines
select.rkt (git://github.com/plt/racket.git) Racket · 344 lines
prop2cnf.rkt (git://github.com/ianj/Typed-Racket-SMT-type-checker.git) Racket · 191 lines
img-err.rkt (git://github.com/smorin/f4f.arc.git) Racket · 286 lines
first-order.rkt (git://github.com/plt/racket.git) Racket · 262 lines
collect-jump-targets.rkt (https://github.com/dyoo/whalesong.git) Racket · 349 lines
5-6.rkt (git://github.com/jeapostrophe/opencl.git) Racket · 115 lines
tc-let-unit.rkt (git://github.com/smorin/f4f.arc.git) Racket · 164 lines
helpers.rkt (git://github.com/tnelson/Margrave.git) Racket · 166 lines
uri-codec.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 161 lines
sets.scrbl (git://github.com/agocke/racket.git) Racket · 260 lines
client.rkt
(git://github.com/ekelly/Dice-Wars.git)
Racket · 160 lines
✨ Summary
This Racket code defines a client class for a game, likely a simple board game. It creates a graphical representation of the game board and allows players to interact with it through mouse events and messages from a server. The client displays the current state of the game, including player positions and board elements, on a graphical window.
This Racket code defines a client class for a game, likely a simple board game. It creates a graphical representation of the game board and allows players to interact with it through mouse events and messages from a server. The client displays the current state of the game, including player positions and board elements, on a graphical window.
scratch.rkt (git://github.com/tnelson/Margrave.git) Racket · 145 lines
test-new.rkt (git://github.com/samth/var.git) Racket · 250 lines
cesk.rkt (git://github.com/samth/var.git) Racket · 200 lines
teach-module-begin.rkt (git://github.com/smorin/f4f.arc.git) Racket · 206 lines
parallel-build.rkt (git://github.com/smorin/f4f.arc.git) Racket · 141 lines
wordbreak.rkt (git://github.com/smorin/f4f.arc.git) Racket · 156 lines
ch1.3.1.rkt (git://github.com/suguni/sicp.git) Racket · 231 lines
test.rkt (git://github.com/jeapostrophe/opencl.git) Racket · 193 lines
parsing.scrbl
(git://github.com/gmarceau/PLT.git)
Racket · 163 lines
✨ Summary
This Racket code defines a library for parsing syntax, providing two main functions: syntax-parse
and define/syntax-parse
. These functions allow users to define patterns that match syntax objects, with various options for literal matching, pattern directives, and convention imports. The functions can be used to create parsers or to define syntax classes for pattern variables.
This Racket code defines a library for parsing syntax, providing two main functions: syntax-parse
and define/syntax-parse
. These functions allow users to define patterns that match syntax objects, with various options for literal matching, pattern directives, and convention imports. The functions can be used to create parsers or to define syntax classes for pattern variables.
apply-model.rkt (git://github.com/tnelson/Margrave.git) Racket · 158 lines
dungeon-scratch.rkt (git://github.com/VincentToups/racket-lib.git) Racket · 229 lines
ex-2.83.rkt (git://github.com/jevgeni/sicp-study.git) Racket · 220 lines
proletariat.rkt (git://github.com/VincentToups/racket-lib.git) Racket · 213 lines
lang.rkt (git://github.com/samth/var.git) Racket · 224 lines
struct-inspectors.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 170 lines
grid.rkt (git://github.com/VincentToups/racket-lib.git) Racket · 207 lines
bibtex.rkt (https://bitbucket.org/agocke/racket.git) Racket · 283 lines
mzrl.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 120 lines
✨ Summary
This Racket code implements a Scheme-like readline library, providing functions for reading input from the terminal, managing command history, and setting completion functions. It also includes features like capturing the real input port, handling threads, and registering finalizers for memory management. The library is designed to work with the libreadline and libtermcap libraries on some platforms.
This Racket code implements a Scheme-like readline library, providing functions for reading input from the terminal, managing command history, and setting completion functions. It also includes features like capturing the real input port, handling threads, and registering finalizers for memory management. The library is designed to work with the libreadline and libtermcap libraries on some platforms.
wxme-random.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 199 lines
✨ Summary
This Racket code creates a graphical user interface (GUI) with a text editor and various actions such as undo, redo, insert, delete, copy, cut, paste, change style, and more. It uses a combination of Scheme’s built-in GUI libraries and custom functions to create a dynamic and interactive environment for testing and experimenting with different GUI behaviors.
This Racket code creates a graphical user interface (GUI) with a text editor and various actions such as undo, redo, insert, delete, copy, cut, paste, change style, and more. It uses a combination of Scheme’s built-in GUI libraries and custom functions to create a dynamic and interactive environment for testing and experimenting with different GUI behaviors.
ttt.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 181 lines
✨ Summary
The provided Racket code implements a game of Tic-Tac-Toe. It defines data structures for the game state, including spaces and boards, and functions to update the board and check for winning conditions. The tic-tac-toe
function simulates a game between two players, O and X, until either player wins or the board is full (stalemate).
The provided Racket code implements a game of Tic-Tac-Toe. It defines data structures for the game state, including spaces and boards, and functions to update the board and check for winning conditions. The tic-tac-toe
function simulates a game between two players, O and X, until either player wins or the board is full (stalemate).
more.scrbl
(git://github.com/gmarceau/PLT.git)
Racket · 165 lines
✨ Summary
This Racket code explains how to specify types in Typed Racket, a language that combines type safety with functional programming features. It covers various aspects of type annotation and binding forms, including definitions, local bindings, functions, single variables, expressions, and type inference. The code demonstrates how to use type annotations to ensure the correctness of programs and provides examples of different scenarios where types can be specified.
This Racket code explains how to specify types in Typed Racket, a language that combines type safety with functional programming features. It covers various aspects of type annotation and binding forms, including definitions, local bindings, functions, single variables, expressions, and type inference. The code demonstrates how to use type annotations to ensure the correctness of programs and provides examples of different scenarios where types can be specified.
web-config-unit.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 141 lines
✨ Summary
This Racket code defines a set of functions for generating web server configurations from configuration tables. It takes input from a table file, parses it into a configuration, and then expands paths to create a complete configuration. The configuration includes settings such as port numbers, listen IP addresses, and servlet namespaces. It also generates virtual hosts based on the configuration table.
This Racket code defines a set of functions for generating web server configurations from configuration tables. It takes input from a table file, parses it into a configuration, and then expands paths to create a complete configuration. The configuration includes settings such as port numbers, listen IP addresses, and servlet namespaces. It also generates virtual hosts based on the configuration table.
struct.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 165 lines
main.rkt (git://github.com/get-bonus/get-bonus.git) Racket · 196 lines
decode.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 214 lines
eigen.rkt (git://github.com/calvis/cKanren.git) Racket · 260 lines
clojure.rkt (git://github.com/takikawa/racket-clojure.git) Racket · 288 lines
class-iop.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 225 lines
✨ Summary
This Racket code defines a set of syntax extensions for creating interfaces, classes, and objects with dynamic methods. It provides macros for defining interfaces, checking object compatibility, sending messages to objects, initializing fields, and defining lambda functions. The code also includes helper functions for generating temporary names and checking method definitions.
This Racket code defines a set of syntax extensions for creating interfaces, classes, and objects with dynamic methods. It provides macros for defining interfaces, checking object compatibility, sending messages to objects, initializing fields, and defining lambda functions. The code also includes helper functions for generating temporary names and checking method definitions.
manual-vars.rkt (git://github.com/smorin/f4f.arc.git) Racket · 156 lines
list.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 209 lines
bitmap-dc.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 197 lines
✨ Summary
This Racket code defines a class bitmap-dc%
that extends default-dc-backend%
. It provides a bitmap-based drawing context, allowing for pixel-level manipulation and scaling of images. The class interacts with Cairo graphics library to perform operations such as setting pixels, drawing sections, and installing colors. It also handles transformations, smoothing, and font rendering.
This Racket code defines a class bitmap-dc%
that extends default-dc-backend%
. It provides a bitmap-based drawing context, allowing for pixel-level manipulation and scaling of images. The class interacts with Cairo graphics library to perform operations such as setting pixels, drawing sections, and installing colors. It also handles transformations, smoothing, and font rendering.
wordbreak.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 156 lines
✨ Summary
This Racket code implements a standard word break algorithm for text editors. It takes a string and a window object as input, and returns two values: start
and end
, representing the start and end positions of a word in the text. The function considers various factors such as caret position, line breaks, and user selection to determine the word boundaries.
This Racket code implements a standard word break algorithm for text editors. It takes a string and a window object as input, and returns two values: start
and end
, representing the start and end positions of a word in the text. The function considers various factors such as caret position, line breaks, and user selection to determine the word boundaries.
subtype-tests.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 142 lines
✨ Summary
The Racket code defines a set of tests for checking if certain expressions are subtypes of others, specifically in the context of polymorphic types and function types. It uses a combination of define-go
and subtype-tests
to verify that various expressions meet the subtype criteria, including function types, variable arguments, and struct types.
The Racket code defines a set of tests for checking if certain expressions are subtypes of others, specifically in the context of polymorphic types and function types. It uses a combination of define-go
and subtype-tests
to verify that various expressions meet the subtype criteria, including function types, variable arguments, and struct types.
lambda.scrbl
(git://github.com/gmarceau/PLT.git)
Racket · 245 lines
✨ Summary
This Racket documentation explains how to create functions using lambda expressions, including declaring rest arguments, optional arguments with default values, keyword arguments, and arity-sensitive functions with case-lambda. It provides examples of each type of function declaration and usage. The documentation also covers the use of apply, keyword-apply, and make-keyword-procedure for working with these types of functions.
This Racket documentation explains how to create functions using lambda expressions, including declaring rest arguments, optional arguments with default values, keyword arguments, and arity-sensitive functions with case-lambda. It provides examples of each type of function declaration and usage. The documentation also covers the use of apply, keyword-apply, and make-keyword-procedure for working with these types of functions.
deriv-c.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 181 lines
✨ Summary
This is a Racket data definition language (DDL) file that defines a large number of structs and their relationships, representing various components of a programming language compiler. It provides a framework for organizing and structuring the code used in compiling and evaluating expressions. The structs define different types of nodes, rules, and derivations, which are likely used to parse and analyze source code.
This is a Racket data definition language (DDL) file that defines a large number of structs and their relationships, representing various components of a programming language compiler. It provides a framework for organizing and structuring the code used in compiling and evaluating expressions. The structs define different types of nodes, rules, and derivations, which are likely used to parse and analyze source code.
check-expect.rkt (git://github.com/dyoo/mzscheme-vm.git) Racket · 239 lines
s5.rkt
(git://github.com/brownplt/LambdaS5.git)
Racket · 477 lines
✨ Summary
This Racket code defines a set of rules for evaluating expressions, including arithmetic operations, control structures, and function calls. It provides a way to define custom behavior for specific expressions, allowing developers to extend the language’s functionality without modifying its core syntax. The output is a set of rules that can be used to evaluate expressions in a customized manner.
This Racket code defines a set of rules for evaluating expressions, including arithmetic operations, control structures, and function calls. It provides a way to define custom behavior for specific expressions, allowing developers to extend the language’s functionality without modifying its core syntax. The output is a set of rules that can be used to evaluate expressions in a customized manner.
make-gl-info.rkt (git://github.com/smorin/f4f.arc.git) Racket · 179 lines
text-ui.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 247 lines
✨ Summary
This Racket code is a test runner for a text-based user interface (textui). It takes a test suite as input and displays the results in a human-readable format, including pass/fail status, error messages, and detailed information about each test case. The output can be customized with different verbosity levels.
This Racket code is a test runner for a text-based user interface (textui). It takes a test suite as input and displays the results in a human-readable format, including pass/fail status, error messages, and detailed information about each test case. The output can be customized with different verbosity levels.
pretty-helper.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 178 lines
✨ Summary
This Racket code is part of a pretty-printer for Scheme-like languages. It extends the existing pretty-printer to handle syntax objects that are indistinguishable after expansion, by mapping them to unique dummy values. This allows the printer to distinguish between equivalent expressions. The code also handles various data types, including structs, pairs, and symbols, and provides functions for unfolding prefab structs and checking special expressions.
This Racket code is part of a pretty-printer for Scheme-like languages. It extends the existing pretty-printer to handle syntax objects that are indistinguishable after expansion, by mapping them to unique dummy values. This allows the printer to distinguish between equivalent expressions. The code also handles various data types, including structs, pairs, and symbols, and provides functions for unfolding prefab structs and checking special expressions.
zipper.rkt (git://github.com/ntoronto/plt-stuff.git) Racket · 192 lines
syntax.rkt (https://bitbucket.org/agocke/racket.git) Racket · 189 lines
search.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 100 lines
✨ Summary
This Racket code implements a function find-string-embedded
that searches for a given string within an editor’s text content, considering various parameters such as direction (forward or backward), start and end positions, case sensitivity, and whether to pop out the found snippet. It returns the position of the found string in the editor’s text.
This Racket code implements a function find-string-embedded
that searches for a given string within an editor’s text content, considering various parameters such as direction (forward or backward), start and end positions, case sensitivity, and whether to pop out the found snippet. It returns the position of the found string in the editor’s text.
font-dir.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 116 lines
✨ Summary
This Racket code defines a font-name-directory
class that manages font information, including font names, family symbols, and face names. It provides functions to find font IDs, get face names, set post-script and screen names, and retrieve default fonts for families. The get-family-builtin-face
function returns the name of a built-in face for a given family symbol.
This Racket code defines a font-name-directory
class that manages font information, including font names, family symbols, and face names. It provides functions to find font IDs, get face names, set post-script and screen names, and retrieve default fonts for families. The get-family-builtin-face
function returns the name of a built-in face for a given family symbol.
module-begin.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 210 lines
✨ Summary
This Racket code defines a module expansion system that processes a module definition, including imports, definitions, and signatures. It expands requires, provides, and other forms to make them visible to the module expander, and then applies the module-expansion machinery to process the expanded form. The result is a fully expanded module definition.
This Racket code defines a module expansion system that processes a module definition, including imports, definitions, and signatures. It expands requires, provides, and other forms to make them visible to the module expander, and then applies the module-expansion machinery to process the expanded form. The result is a fully expanded module definition.
struct.scrbl
(git://github.com/gmarceau/PLT.git)
Racket · 164 lines
✨ Summary
This Racket code defines a module for working with struct definitions, including parsing and generating code for defining structs. It provides functions to parse define-struct
forms, generate struct names and types, and create expansion-time information for struct declarations. The code is designed to be used in a macro expander to generate code for working with structs.
This Racket code defines a module for working with struct definitions, including parsing and generating code for defining structs. It provides functions to parse define-struct
forms, generate struct names and types, and create expansion-time information for struct declarations. The code is designed to be used in a macro expander to generate code for working with structs.
mem.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 173 lines
✨ Summary
This Racket code tests various GUI components, such as frames, editors, and pasteboards, to ensure they allocate memory correctly when created and closed. It simulates user interactions like closing windows and collecting garbage to verify that memory is released properly. The test suite also checks the behavior of different frame classes and their associated components.
This Racket code tests various GUI components, such as frames, editors, and pasteboards, to ensure they allocate memory correctly when created and closed. It simulates user interactions like closing windows and collecting garbage to verify that memory is released properly. The test suite also checks the behavior of different frame classes and their associated components.
iteration-6.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 172 lines
✨ Summary
This Racket code defines a simple web server that displays a blog with posts and comments. The blog can be updated by inserting new posts, comments, or canceling changes. The server generates HTML pages for each post, allowing users to view individual posts, add comments, or return to the main blog page.
This Racket code defines a simple web server that displays a blog with posts and comments. The blog can be updated by inserting new posts, comments, or canceling changes. The server generates HTML pages for each post, allowing users to view individual posts, add comments, or return to the main blog page.
labelled-menu-item-intf.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 124 lines
splicing.rkt (git://github.com/smorin/f4f.arc.git) Racket · 87 lines
writer.rkt (git://github.com/smorin/f4f.arc.git) Racket · 170 lines
manual-scheme.rkt (git://github.com/smorin/f4f.arc.git) Racket · 206 lines
poly-c.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 96 lines
good-collector.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 275 lines
✨ Summary
The Racket code implements a garbage collector for a simple heap data structure. It allocates memory to locations, marks gray addresses as white when they’re accessed, and frees memory when all references to an address are gone. The collect-garbage
function runs the garbage collector on a given vector of locations, updating the heap accordingly.
The Racket code implements a garbage collector for a simple heap data structure. It allocates memory to locations, marks gray addresses as white when they’re accessed, and frees memory when all references to an address are gone. The collect-garbage
function runs the garbage collector on a given vector of locations, updating the heap accordingly.
merge.rkt
(git://github.com/jeapostrophe/compiler.git)
Racket · 164 lines
✨ Summary
This Racket code is part of a compiler, specifically handling the merging of compilation top-levels and forms. It recursively processes forms within a compilation top-level, updating offsets for toplevels, stxs, and lifts, and remapping module variables. The goal is to optimize compilation by reusing and combining existing forms while preserving their semantics.
This Racket code is part of a compiler, specifically handling the merging of compilation top-levels and forms. It recursively processes forms within a compilation top-level, updating offsets for toplevels, stxs, and lifts, and remapping module variables. The goal is to optimize compilation by reusing and combining existing forms while preserving their semantics.
0011.rkt (git://github.com/samdphillips/euler.git) Racket · 95 lines
utils.rkt
(git://github.com/masm/sines.git)
Racket · 134 lines
✨ Summary
This Racket code defines a set of functions for working with Scheme syntax, including dispatch-lambda/arity->lambda
and app->let-node
. It also provides functions for renaming lexical IDs and creating new global IDs. The code uses a combination of pattern matching and hash tables to rename lexical IDs in Scheme expressions, allowing for more flexible and efficient manipulation of Scheme syntax.
This Racket code defines a set of functions for working with Scheme syntax, including dispatch-lambda/arity->lambda
and app->let-node
. It also provides functions for renaming lexical IDs and creating new global IDs. The code uses a combination of pattern matching and hash tables to rename lexical IDs in Scheme expressions, allowing for more flexible and efficient manipulation of Scheme syntax.
printing.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 90 lines
predicates-test.rkt (git://github.com/clklein/predicates.git) Racket · 462 lines
geometry.rkt (git://github.com/VincentToups/racket-lib.git) Racket · 498 lines
exercise-control.rkt (git://github.com/dyoo/mzscheme-vm.git) Racket · 134 lines
tree-value.rkt (git://github.com/ntoronto/plt-stuff.git) Racket · 147 lines
input.rkt (https://bitbucket.org/geoffhill/lc-compiler.git) Racket · 186 lines
gen-jit-ts.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 217 lines
✨ Summary
The code generates C source files for a JIT compiler, specifically for handling type-specific instructions (TSIs) and their corresponding glue code for future and runtime execution. It defines prototypes, function signatures, and implementations for these TSIs, which are used to optimize performance in the compiler. The generated files can be used as part of a larger JIT compiler project.
The code generates C source files for a JIT compiler, specifically for handling type-specific instructions (TSIs) and their corresponding glue code for future and runtime execution. It defines prototypes, function signatures, and implementations for these TSIs, which are used to optimize performance in the compiler. The generated files can be used as part of a larger JIT compiler project.
string-output.scrbl
(git://github.com/gmarceau/PLT.git)
Racket · 155 lines
✨ Summary
This Racket code defines a set of procedures for writing data to an output port, including characters, bytes, strings, and special values. It provides various options for flushing buffered data, handling errors, and synchronizing writes with events. The procedures are designed to work with different types of ports, such as file streams, pipes, and TCP connections, and can be used in a variety of applications.
This Racket code defines a set of procedures for writing data to an output port, including characters, bytes, strings, and special values. It provides various options for flushing buffered data, handling errors, and synchronizing writes with events. The procedures are designed to work with different types of ports, such as file streams, pipes, and TCP connections, and can be used in a variety of applications.
syntax2.rkt
(git://github.com/masm/sines.git)
Racket · 526 lines
✨ Summary
This Racket code defines a set of macros and data structures for building Scheme-like programs. It provides syntax for defining modules, functions, loops, conditionals, and variables, as well as support for lexical scoping and global references. The output appears to be a generated version of the Scheme language, with many of its core features implemented in Racket.
This Racket code defines a set of macros and data structures for building Scheme-like programs. It provides syntax for defining modules, functions, loops, conditionals, and variables, as well as support for lexical scoping and global references. The output appears to be a generated version of the Scheme language, with many of its core features implemented in Racket.
math.rkt (https://bitbucket.org/agocke/racket.git) Racket · 182 lines
sc.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 177 lines
✨ Summary
This Racket code defines a set of syntax classes and parsers for creating custom syntax classes, parsing expressions, and defining new syntax classes with attributes and definitions. It provides a way to define custom syntax classes using define-syntax-class
and define-splicing-syntax-class
, as well as parse expressions using syntax-parse
and parser/rhs
.
This Racket code defines a set of syntax classes and parsers for creating custom syntax classes, parsing expressions, and defining new syntax classes with attributes and definitions. It provides a way to define custom syntax classes using define-syntax-class
and define-splicing-syntax-class
, as well as parse expressions using syntax-parse
and parser/rhs
.
drracket.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 152 lines
✨ Summary
This Racket code configures and initializes various components for a DrRacket environment, including compilation management, tracing, parallel build, and profiling. It loads and installs necessary modules, sets up event handling and logging, and enables tracing and parallel build as specified by command-line arguments or environment variables. The profiler is also initialized if the PLTDRPROFILE
variable is set.
This Racket code configures and initializes various components for a DrRacket environment, including compilation management, tracing, parallel build, and profiling. It loads and installs necessary modules, sets up event handling and logging, and enables tracing and parallel build as specified by command-line arguments or environment variables. The profiler is also initialized if the PLTDRPROFILE
variable is set.
text-ui-test.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 225 lines
✨ Summary
This Racket code defines a test suite for the text-ui
library, which is used to write unit tests with pretty-printed output. The test suite includes various scenarios, such as failing tests, quiet mode, and different output formats (normal, verbose). It also checks the behavior of run-tests
in different modes.
This Racket code defines a test suite for the text-ui
library, which is used to write unit tests with pretty-printed output. The test suite includes various scenarios, such as failing tests, quiet mode, and different output formats (normal, verbose). It also checks the behavior of run-tests
in different modes.
rewriter.rkt (git://github.com/smorin/f4f.arc.git) Racket · 61 lines
compat.scrbl (git://github.com/smorin/f4f.arc.git) Racket · 97 lines
14.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 228 lines
✨ Summary
This Racket code provides a set of functions for working with character sets, including predicates and comparison, iteration, creation, querying, and algebraic operations. It also defines standard character sets such as lower-case, upper-case, and digit characters. The functions are designed to be polymorphic, allowing them to work with different data types and character encodings.
This Racket code provides a set of functions for working with character sets, including predicates and comparison, iteration, creation, querying, and algebraic operations. It also defines standard character sets such as lower-case, upper-case, and digit characters. The functions are designed to be polymorphic, allowing them to work with different data types and character encodings.
tsyntax.rkt (git://github.com/jeapostrophe/opencl.git) Racket · 188 lines
run.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 149 lines
✨ Summary
This Racket code defines a command-line tool for generating documentation from a Scribble source file. It supports multiple formats (text, HTML, LaTeX, PDF) and allows users to customize various settings such as output directory, style files, and cross-reference information. The tool can be run with different options to generate the desired format of documentation.
This Racket code defines a command-line tool for generating documentation from a Scribble source file. It supports multiple formats (text, HTML, LaTeX, PDF) and allows users to customize various settings such as output directory, style files, and cross-reference information. The tool can be run with different options to generate the desired format of documentation.
decode.rkt (git://github.com/smorin/f4f.arc.git) Racket · 328 lines
demo.rkt (git://github.com/tnelson/Margrave.git) Racket · 226 lines
slider.rkt
(git://github.com/gmarceau/PLT.git)
Racket · 178 lines
✨ Summary
This Racket code defines a custom slider widget, slider%
, which is a graphical user interface (GUI) component that allows users to select a value from a range. It inherits from an existing item%
class and provides additional functionality such as updating the slider’s value and sending notifications when the value changes. The widget can be used in GUI applications built with Racket.
This Racket code defines a custom slider widget, slider%
, which is a graphical user interface (GUI) component that allows users to select a value from a range. It inherits from an existing item%
class and provides additional functionality such as updating the slider’s value and sending notifications when the value changes. The widget can be used in GUI applications built with Racket.
struct.rkt (git://github.com/jeapostrophe/mongodb.git) Racket · 153 lines
2-5.rkt
(git://github.com/Tabemasu/sicp.git)
Racket · 397 lines
✨ Summary
This Racket code implements a polynomial package with operations such as addition, subtraction, multiplication, and division of polynomials. It defines data structures for representing polynomials and their terms, and provides functions to perform these operations on them. The code also includes tests and interfaces to the rest of the system, allowing other parts of the program to use the polynomial package.
This Racket code implements a polynomial package with operations such as addition, subtraction, multiplication, and division of polynomials. It defines data structures for representing polynomials and their terms, and provides functions to perform these operations on them. The code also includes tests and interfaces to the rest of the system, allowing other parts of the program to use the polynomial package.