Skip to content
URL to IP resolving library for LDPL πŸ”—
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images
ldpl-url-resolver
README.md
example.ldpl

README.md

The LDPL URL Resolver Library

Version License Size

The LDPL URL Resolver Library is a super easy to use library for LDPL that helps you resolve URLs into their respective IP addresses. This library requires LDPL 4.3 or greater.

🧰 Installation

You can install this library by hand or using LPM.

πŸ“¦ Installing using LPM

Open a terminal and write lpm install ldpl-url-resolver. Once downloaded, include it in your LDPL project by adding the line:

using package ldpl-url-resolver

before the data and procedure sections of your source file. The library is ready to be used.

βœ‹πŸ» Installing by hand

Include the library into your LDPL project by copying the folder ldpl-url-resolver to your project directory and then adding the line:

include "ldpl-url-resolver/ldpl-url-resolver.ldpl"

before the data and procedure sections of your source file. The library is ready to be used.

πŸ“š Documentation

This library adds a single new statement to the language:

  • resolve url <text> in <text-var> resolves the url <text> and stores the resulting IP in <text-var>.

🏫 Example

using package ldpl-url-resolver
data:
  ip is text
procedure:
  resolve url "www.ldpl-lang.org" in ip
  display "The ip for www.ldpl-lang.org is " ip lf

πŸ“œ License

This library is released under the MIT License.

You can’t perform that action at this time.